aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/examples/simple
diff options
context:
space:
mode:
Diffstat (limited to 'examples/simple')
-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)