From 8bc49e3d23c56b3c53320aaf26edeb1c0ecd395c Mon Sep 17 00:00:00 2001 From: spencer-lunarg Date: Thu, 18 Jul 2024 15:06:48 -0400 Subject: [PATCH] build: Fix CMake Clang Debug build check --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9c0ce686689..1a1faabebb8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -129,7 +129,7 @@ if(${CMAKE_CXX_COMPILER_ID} MATCHES "(GNU|Clang)") -Wstring-conversion ) - if (CMAKE_BUILD_TYPE EQUAL "DEBUG") + if (CMAKE_BUILD_TYPE MATCHES "Debug") # When using tools such as lldb, strings will produce "error: summary string parsing error" add_compile_options(-fstandalone-debug) endif()