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:
authorSergey Sharybin <sergey.vfx@gmail.com>2019-09-03 12:21:51 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2019-09-03 12:45:52 +0300
commit42478436ae60e4fd75439c3962c97ebb15023d94 (patch)
tree6e0e9290ec5e5aa437bf657dafe9abd019d0bdd8 /source/blender/python/intern/CMakeLists.txt
parent5ea6545ad576bcc3ea107d351fda3c3909651c61 (diff)
Add OpenSubdiv information to bpy.app
Allows to customize interface and inform about lack of subdivision surface support.
Diffstat (limited to 'source/blender/python/intern/CMakeLists.txt')
-rw-r--r--source/blender/python/intern/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/python/intern/CMakeLists.txt b/source/blender/python/intern/CMakeLists.txt
index fc945562c98..a5f71e92438 100644
--- a/source/blender/python/intern/CMakeLists.txt
+++ b/source/blender/python/intern/CMakeLists.txt
@@ -231,6 +231,10 @@ if(WITH_OPENAL)
add_definitions(-DWITH_OPENAL)
endif()
+if(WITH_OPENSUBDIV)
+ add_definitions(-DWITH_OPENSUBDIV)
+endif()
+
if(WITH_SDL)
list(APPEND INC_SYS
${SDL_INCLUDE_DIR}