From 568e8d8d428f756ecf57bfd42f9fe2cdd00e94b6 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Sat, 24 Jun 2023 11:52:37 +0200 Subject: [PATCH] build: Don't generated PDBs in Debug mode --- cmake/build_helpers.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/build_helpers.cmake b/cmake/build_helpers.cmake index 23ec40307..624e40125 100644 --- a/cmake/build_helpers.cmake +++ b/cmake/build_helpers.cmake @@ -575,7 +575,7 @@ macro(addBundledLibraries) endmacro() function(generatePDBs) - if (NOT WIN32) + if (NOT WIN32 OR CMAKE_BUILD_TYPE STREQUAL "Debug") return() endif ()