mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-10-25 05:16:05 +03:00
fix(build): CMake is not C
This commit is contained in:
parent
d067eb1ae2
commit
58d72f10ce
@ -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")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user