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:
authorCampbell Barton <ideasman42@gmail.com>2017-03-27 05:02:41 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-03-27 05:02:41 +0300
commit086320a62e108b6e640f2b2453b8f1f0a946e57b (patch)
treeaeedf695e527a9b1bd89e59e0c8b4606a24cf877 /source/blender/blenloader/CMakeLists.txt
parent356aacab6b3667843fff7986cbd4026f70345d41 (diff)
CMake: WITH_PYTHON_SECURITY=OFF was ignored
Allow auto-execution to be enabled, also move this to user-prefs versioning code.
Diffstat (limited to 'source/blender/blenloader/CMakeLists.txt')
-rw-r--r--source/blender/blenloader/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/blenloader/CMakeLists.txt b/source/blender/blenloader/CMakeLists.txt
index 8cb9ef837b2..3d2e8a306de 100644
--- a/source/blender/blenloader/CMakeLists.txt
+++ b/source/blender/blenloader/CMakeLists.txt
@@ -69,6 +69,12 @@ if(WITH_BUILDINFO)
add_definitions(-DWITH_BUILDINFO)
endif()
+if(WITH_PYTHON)
+ if(WITH_PYTHON_SECURITY)
+ add_definitions(-DWITH_PYTHON_SECURITY)
+ endif()
+endif()
+
if(WITH_INTERNATIONAL)
add_definitions(-DWITH_INTERNATIONAL)
endif()