mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-12-19 22:47:51 +08:00
16 lines
413 B
CMake
16 lines
413 B
CMake
|
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}")
|