Skip to content

Truly independent web browser

Meta: Use ghash debug info in Windows Debug builds too

Jelle Raaijmakers902336ab9043
diff --git a/Meta/CMake/compile_options.cmake b/Meta/CMake/compile_options.cmake
index bfaff30ec8f..04e99285b0c 100644
--- a/Meta/CMake/compile_options.cmake
+++ b/Meta/CMake/compile_options.cmake
@@ -209,7 +209,7 @@ elseif (MSVC)
add_cxx_link_option_if_supported(-prefetch-inputs)
# Use ghash compressed debug info for build time and pdb size reduction
- if (CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo" OR "Debug")
+ if (CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo" OR CMAKE_BUILD_TYPE STREQUAL "Debug")
add_cxx_compile_options(-gcodeview-ghash)
add_cxx_link_options(/DEBUG:GHASH)
endif()