Skip to content

Commit

Permalink
build: Fix CMake Clang Debug build check
Browse files Browse the repository at this point in the history
  • Loading branch information
spencer-lunarg committed Jul 18, 2024
1 parent 58428b0 commit 8bc49e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 8bc49e3

Please sign in to comment.