diff options
author | Nik Reist <zeroability@tutanota.com> | 2020-06-09 09:07:35 +0300 |
---|---|---|
committer | Davide Beatrici <git@davidebeatrici.dev> | 2020-07-12 00:33:25 +0300 |
commit | 261756a7e274c187045b2e63ca4ded6b7b676b63 (patch) | |
tree | f7ef81403239eb8bc3892e683dd3fc1c20ba2daa /overlay | |
parent | b30ee28acb22ceafc1944e57bda23efdd353379a (diff) |
Add install() directives, for "install" step and CPack
Diffstat (limited to 'overlay')
-rw-r--r-- | overlay/CMakeLists.txt | 3 | ||||
-rw-r--r-- | overlay/overlay_exe/CMakeLists.txt | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/overlay/CMakeLists.txt b/overlay/CMakeLists.txt index bfb51043f..b1db2061b 100644 --- a/overlay/CMakeLists.txt +++ b/overlay/CMakeLists.txt @@ -127,6 +127,8 @@ else() ${CMAKE_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ) + + install(TARGETS overlay RUNTIME DESTINATION . COMPONENT mumble_client) endif() if(64_BIT) @@ -185,6 +187,7 @@ if(64_BIT AND MSVC) INSTALL_COMMAND "" ) endif() + install(FILES ${CMAKE_BINARY_DIR}/mumble_ol.dll ${CMAKE_BINARY_DIR}/mumble_ol_helper.exe DESTINATION . COMPONENT mumble_client) endif() add_subdirectory(overlay_exe) diff --git a/overlay/overlay_exe/CMakeLists.txt b/overlay/overlay_exe/CMakeLists.txt index f3fc8e35c..51e8f165b 100644 --- a/overlay/overlay_exe/CMakeLists.txt +++ b/overlay/overlay_exe/CMakeLists.txt @@ -38,6 +38,8 @@ else() set_target_properties(overlay_exe PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}) target_include_directories(overlay_exe PRIVATE ${CMAKE_SOURCE_DIR}/overlay) + + install(TARGETS overlay_exe RUNTIME DESTINATION . COMPONENT mumble_client) endif() if(MSVC) |