mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-05-01 09:13:20 +03:00
Add oboe-wrapper local vcpkg port
... because we switched to unmodified oboe. The wrapper is built as separate local vcpkg port that depends on oboe. Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>
This commit is contained in:
15
res/vcpkg/oboe-wrapper/CMakeLists.txt
Normal file
15
res/vcpkg/oboe-wrapper/CMakeLists.txt
Normal file
@@ -0,0 +1,15 @@
|
||||
cmake_minimum_required(VERSION 3.20)
|
||||
project(oboe_wrapper CXX)
|
||||
|
||||
include(GNUInstallDirs)
|
||||
|
||||
add_library(oboe_wrapper STATIC
|
||||
oboe.cc
|
||||
)
|
||||
|
||||
target_include_directories(oboe_wrapper PRIVATE "${CURRENT_INSTALLED_DIR}/include")
|
||||
|
||||
install(TARGETS oboe_wrapper
|
||||
ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}"
|
||||
LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}"
|
||||
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")
|
||||
Reference in New Issue
Block a user