From 58d72f10ce7b9fd43757fced2c84b7f7c30fcfb0 Mon Sep 17 00:00:00 2001 From: superp00t Date: Sun, 21 Jul 2024 20:06:00 -0400 Subject: [PATCH] fix(build): CMake is not C --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c8465d2..ae7b9d8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,9 +33,9 @@ include(lib/system/cmake/system.cmake) # UBsan set(WHOA_UB_SAN_HELP_TEXT, "Disable/Enable the Undefined Behavior Sanitizer. This is turned on by default in Debug build types. Has no effect when using MSVC.") if (CMAKE_BUILD_TYPE STREQUAL "Debug") - option(WHOA_UB_SAN, WHOA_UB_SAN_HELP_TEXT, 1) + option(WHOA_UB_SAN WHOA_UB_SAN_HELP_TEXT 1) else() - option(WHOA_UB_SAN, WHOA_UB_SAN_HELP_TEXT, 0) + option(WHOA_UB_SAN WHOA_UB_SAN_HELP_TEXT 0) endif() unset(WHOA_UB_SAN_HELP_TEXT) @@ -52,7 +52,7 @@ else() endif() # FMOD -option(WHOA_BUILD_FMOD, "Disable/Enable the use of the FMOD sound API. This introduces a dependency on a proprietary FMOD dynamically linked library.", 0) +option(WHOA_BUILD_FMOD "Disable/Enable the use of the FMOD sound API. This introduces a dependency on a proprietary FMOD dynamically linked library." 0) # Compiler options if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "GNU")