CMake: PRefix config opt with CONFIG_

This commit is contained in:
2025-10-01 11:02:28 -04:00
parent 942f9d8515
commit e9e273c012
4 changed files with 10 additions and 4 deletions
+7
View File
@@ -46,6 +46,13 @@ 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
set(CONFIG_DEBUG_QUTEX_DEADLOCK_TIMEOUT_MS ${DEBUG_QUTEX_DEADLOCK_TIMEOUT_MS})