From 719561fcf25d1ae5d6a612555fdeccaf848bf1cc Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 16 Dec 2019 12:25:31 +0300 Subject: cmake: add install() rules --- um/wrappers/simple/utils/CMakeLists.txt | 2 ++ um/wrappers/special/nt_namespace/utils/CMakeLists.txt | 2 ++ 2 files changed, 4 insertions(+) (limited to 'um/wrappers') diff --git a/um/wrappers/simple/utils/CMakeLists.txt b/um/wrappers/simple/utils/CMakeLists.txt index c4d3bdd..7c2a70d 100644 --- a/um/wrappers/simple/utils/CMakeLists.txt +++ b/um/wrappers/simple/utils/CMakeLists.txt @@ -1,3 +1,5 @@ add_executable(simple_exchange_ints exchange_ints.cpp) target_link_libraries(simple_exchange_ints PRIVATE simple) set_target_properties(simple_exchange_ints PROPERTIES OUTPUT_NAME exchange_ints) + +install(TARGETS simple_exchange_ints RUNTIME DESTINATION bin) diff --git a/um/wrappers/special/nt_namespace/utils/CMakeLists.txt b/um/wrappers/special/nt_namespace/utils/CMakeLists.txt index 9657693..5d354ce 100644 --- a/um/wrappers/special/nt_namespace/utils/CMakeLists.txt +++ b/um/wrappers/special/nt_namespace/utils/CMakeLists.txt @@ -5,3 +5,5 @@ if(MINGW) target_compile_options(nt_namespace_convert PRIVATE -municode) target_link_libraries(nt_namespace_convert PRIVATE -municode) endif() + +install(TARGETS nt_namespace_convert RUNTIME DESTINATION bin) -- cgit v1.2.3