mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-11 20:05:58 +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
|
# 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.")
|
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")
|
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()
|
else()
|
||||||
option(WHOA_UB_SAN, WHOA_UB_SAN_HELP_TEXT, 0)
|
option(WHOA_UB_SAN WHOA_UB_SAN_HELP_TEXT 0)
|
||||||
endif()
|
endif()
|
||||||
unset(WHOA_UB_SAN_HELP_TEXT)
|
unset(WHOA_UB_SAN_HELP_TEXT)
|
||||||
|
|
||||||
@ -52,7 +52,7 @@ else()
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
# FMOD
|
# 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
|
# Compiler options
|
||||||
if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user