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
+2 -2
View File
@@ -18,7 +18,7 @@ Mind::Mind(void)
std::make_shared<MindThread>(ComponentThread::SIMULATOR, *this),
std::make_shared<MindThread>(ComponentThread::SUBCONSCIOUS, *this),
std::make_shared<MindThread>(ComponentThread::BODY, *this)
#ifndef WORLD_USE_BODY_THREAD
#ifndef CONFIG_WORLD_USE_BODY_THREAD
, std::make_shared<MindThread>(ComponentThread::WORLD, *this)
#endif
},
@@ -27,7 +27,7 @@ Mind::Mind(void)
subconscious(*this, componentThreads[2]),
body(*this, componentThreads[3]),
world(*this,
#ifndef WORLD_USE_BODY_THREAD
#ifndef CONFIG_WORLD_USE_BODY_THREAD
componentThreads[4]
#else
componentThreads[3]