diff options
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index fa133da6..b8768688 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -238,7 +238,7 @@ function(fm_add_install_executable self) else() install(PROGRAMS "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${exe}" DESTINATION bin) if(MSVC) - install(FILES $<TARGET_PDB_FILE:${self}> DESTINATION bin) + install(FILES $<TARGET_PDB_FILE:${self}> DESTINATION bin OPTIONAL) endif() endif() endfunction() |