disable cycles when building without python, also use const for function args in more places.

This commit is contained in:
Campbell Barton
2013-08-07 22:40:03 +00:00
parent 67ae5e8158
commit 26c0839220
5 changed files with 33 additions and 18 deletions

View File

@@ -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)