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>2015-05-19 04:34:52 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-05-19 04:38:07 +0300
commit183b6437744f69bbeadf503f791f763f3c7c4a6f (patch)
tree8729ff645a7a4a9924552b9ab14836a4bfcaa590 /source/blender/blenfont/CMakeLists.txt
parent65328fadc3c63c73d5c2e2e977de3dad5bd74219 (diff)
Building without Python works again
Diffstat (limited to 'source/blender/blenfont/CMakeLists.txt')
-rw-r--r--source/blender/blenfont/CMakeLists.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/source/blender/blenfont/CMakeLists.txt b/source/blender/blenfont/CMakeLists.txt
index 2f10c3580e0..059e2cac680 100644
--- a/source/blender/blenfont/CMakeLists.txt
+++ b/source/blender/blenfont/CMakeLists.txt
@@ -29,7 +29,6 @@ set(INC
../gpu
../makesdna
../makesrna
- ../python
../imbuf
../../../intern/guardedalloc
../../../intern/glew-mx
@@ -67,7 +66,13 @@ if(WITH_INTERNATIONAL)
add_definitions(-DWITH_INTERNATIONAL)
endif()
+if(WITH_PYTHON)
+ add_definitions(-DWITH_PYTHON)
+ list(APPEND INC
+ ../python
+ )
+endif()
+
add_definitions(${GL_DEFINITIONS})
blender_add_lib(bf_blenfont "${SRC}" "${INC}" "${INC_SYS}")
-