aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/examples/simple
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-10-28 20:57:35 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-10-28 20:57:50 +0300
commit9989c9f8f1fac87798160203b8e674cbc44f5ff6 (patch)
tree89119bc764255dc0eb7e102804321f255de9fefa /examples/simple
parentMakefile: check symbols for examples/boost also (diff)
downloadcmake-common-9989c9f8f1fac87798160203b8e674cbc44f5ff6.tar.gz
cmake-common-9989c9f8f1fac87798160203b8e674cbc44f5ff6.zip
common.cmake: add install_pdbs()before_toolchain_refactoring
Diffstat (limited to '')
-rw-r--r--examples/simple/CMakeLists.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/simple/CMakeLists.txt b/examples/simple/CMakeLists.txt
index 4f8859e..268b5db 100644
--- a/examples/simple/CMakeLists.txt
+++ b/examples/simple/CMakeLists.txt
@@ -7,6 +7,4 @@ include(../../common.cmake)
add_executable(foo foo.cpp)
install(TARGETS foo RUNTIME DESTINATION bin)
-if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
- install(FILES "$<TARGET_PDB_FILE:foo>" DESTINATION bin OPTIONAL)
-endif()
+install_pdbs(TARGETS foo DESTINATION bin)