diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index e91ec18caee..6efef21afc1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -416,6 +416,10 @@ if(WITH_PYTHON_MODULE) set(WITH_HEADLESS ON) endif() +if(NOT WITH_PYTHON) + set(WITH_CYCLES OFF) +endif() + # enable boost for cycles, booleans, audaspace or i18n # otherwise if the user disabled if(NOT WITH_BOOST) |