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
|
||||
if(ENABLE_DEBUG_LOCKS)
|
||||
set(CONFIG_ENABLE_DEBUG_LOCKS TRUE)
|
||||
else()
|
||||
set(CONFIG_ENABLE_DEBUG_LOCKS FALSE)
|
||||
endif()
|
||||
|
||||
# Set the world thread variable for config.h
|
||||
if(WORLD_USE_BODY_THREAD)
|
||||
set(CONFIG_WORLD_USE_BODY_THREAD TRUE)
|
||||
else()
|
||||
unset(CONFIG_WORLD_USE_BODY_THREAD)
|
||||
endif()
|
||||
|
||||
# Set the timeout variable for config.h
|
||||
|
||||
Reference in New Issue
Block a user