CMake: Terser config tokens
This commit is contained in:
@@ -42,15 +42,11 @@ option(ENABLE_TESTS "Enable building tests" OFF)
|
|||||||
# Set the debug locks variable for config.h
|
# Set the debug locks variable for config.h
|
||||||
if(ENABLE_DEBUG_LOCKS)
|
if(ENABLE_DEBUG_LOCKS)
|
||||||
set(CONFIG_ENABLE_DEBUG_LOCKS TRUE)
|
set(CONFIG_ENABLE_DEBUG_LOCKS TRUE)
|
||||||
else()
|
|
||||||
set(CONFIG_ENABLE_DEBUG_LOCKS FALSE)
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Set the world thread variable for config.h
|
# Set the world thread variable for config.h
|
||||||
if(WORLD_USE_BODY_THREAD)
|
if(WORLD_USE_BODY_THREAD)
|
||||||
set(CONFIG_WORLD_USE_BODY_THREAD TRUE)
|
set(CONFIG_WORLD_USE_BODY_THREAD TRUE)
|
||||||
else()
|
|
||||||
unset(CONFIG_WORLD_USE_BODY_THREAD)
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Set the timeout variable for config.h
|
# Set the timeout variable for config.h
|
||||||
|
|||||||
Reference in New Issue
Block a user