CMake: PRefix config opt with CONFIG_
This commit is contained in:
+2
-2
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user