From 18b48d040e924dbe6b46cd339f5e59d00dfe065a Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 24 Nov 2023 09:50:39 +0100 Subject: cmake: fix .pdb-less builds --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 $ DESTINATION bin) + install(FILES $ DESTINATION bin OPTIONAL) endif() endif() endfunction() -- cgit v1.2.3