diff options
Diffstat (limited to 'um/wrappers')
| -rw-r--r-- | um/wrappers/nt_namespace/utils/CMakeLists.txt | 5 | ||||
| -rw-r--r-- | um/wrappers/simple/utils/CMakeLists.txt | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/um/wrappers/nt_namespace/utils/CMakeLists.txt b/um/wrappers/nt_namespace/utils/CMakeLists.txt index 46e9b5e..0af13d8 100644 --- a/um/wrappers/nt_namespace/utils/CMakeLists.txt +++ b/um/wrappers/nt_namespace/utils/CMakeLists.txt @@ -7,4 +7,7 @@ if(MINGW) endif() install(TARGETS nt_namespace_convert RUNTIME DESTINATION bin) -install_pdbs(TARGETS nt_namespace_convert DESTINATION bin) +if(MSVC) + install(FILES $<TARGET_PDB_FILE:nt_namespace_convert> + DESTINATION bin OPTIONAL) +endif() diff --git a/um/wrappers/simple/utils/CMakeLists.txt b/um/wrappers/simple/utils/CMakeLists.txt index 6aafb9a..4660488 100644 --- a/um/wrappers/simple/utils/CMakeLists.txt +++ b/um/wrappers/simple/utils/CMakeLists.txt @@ -3,4 +3,7 @@ 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) -install_pdbs(TARGETS simple_exchange_ints DESTINATION bin) +if(MSVC) + install(FILES $<TARGET_PDB_FILE:simple_exchange_ints> + DESTINATION bin OPTIONAL) +endif() |
