Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7cec28f0e10..2f5b8240c88 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -640,6 +640,11 @@ if(NOT WITH_PYTHON)
set(WITH_DRACO OFF)
endif()
+if(WITH_DRACO AND NOT WITH_PYTHON_INSTALL)
+ message(STATUS "WITH_DRACO requires WITH_PYTHON_INSTALL to be ON, disabling WITH_DRACO for now")
+ set(WITH_DRACO OFF)
+endif()
+
# enable boost for cycles, audaspace or i18n
# otherwise if the user disabled
if(NOT WITH_BOOST)