diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-11-24 09:50:39 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-11-24 09:50:39 +0100 |
commit | 18b48d040e924dbe6b46cd339f5e59d00dfe065a (patch) | |
tree | fee701cbadad665c28efd6a7d99b6f87ebddde67 | |
parent | a968b4466287bc78ea7219c03f06e6f78d7a582c (diff) |
cmake: fix .pdb-less builds
-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() |