diff options
Diffstat (limited to '')
-rw-r--r-- | examples/boost/CMakeLists.txt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/boost/CMakeLists.txt b/examples/boost/CMakeLists.txt index 8c076c9..c4d5edb 100644 --- a/examples/boost/CMakeLists.txt +++ b/examples/boost/CMakeLists.txt @@ -9,6 +9,4 @@ add_executable(foo foo.cpp) target_link_libraries(foo PRIVATE Boost::disable_autolinking Boost::filesystem) 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) |