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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2019-08-02 20:53:14 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-08-02 20:53:59 +0300
commitf7d5941faad8fa5a69a7e6bb7b444c2754fbd57b (patch)
treed427c18cf7954db9b054b62d94fbbeec4a36bc5f /source/blender/freestyle
parent15e224dca3f6b7d77b2503edd2764399bce1e79d (diff)
Fix freestyle tests failing when using WITH_PYTHON_SAFETY
Diffstat (limited to 'source/blender/freestyle')
-rw-r--r--source/blender/freestyle/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/freestyle/CMakeLists.txt b/source/blender/freestyle/CMakeLists.txt
index 253fcecc81c..ba5172c7916 100644
--- a/source/blender/freestyle/CMakeLists.txt
+++ b/source/blender/freestyle/CMakeLists.txt
@@ -575,6 +575,11 @@ set(INC_SYS
add_definitions(-DWITH_FREESTYLE)
+if(WITH_PYTHON_SAFETY)
+ # For bpy_rna.h access.
+ add_definitions(-DWITH_PYTHON_SAFETY)
+endif()
+
if(WITH_INTERNATIONAL)
add_definitions(-DWITH_INTERNATIONAL)
endif()