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:
authorJens Verwiebe <info@jensverwiebe.de>2012-01-17 17:11:53 +0400
committerJens Verwiebe <info@jensverwiebe.de>2012-01-17 17:11:53 +0400
commitf3e39fc8c9d83fff1e4d591b27073586d855bdc6 (patch)
tree3b88af772901e0bb88011c4992feb78f74f9762a /source/creator
parent7a85ad51bfc302748b912ec6b69f647b6fd131b7 (diff)
OSX/cmake: donĀ“t build target extractpyzip for MODULE
Diffstat (limited to 'source/creator')
-rw-r--r--source/creator/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt
index cd38aa58b38..61551f4f8c1 100644
--- a/source/creator/CMakeLists.txt
+++ b/source/creator/CMakeLists.txt
@@ -629,10 +629,11 @@ elseif(APPLE)
)
# python
- if(WITH_PYTHON)
+ if(WITH_PYTHON AND NOT WITH_PYTHON_MODULE)
# the python zip is first extract as part of the build process,
# and then later installed as part of make install. this is much
# quicker, and means we can easily exclude files on copy
+ # Not needed for PYTHON_MODULE or WEB_PLUGIN due uses Pyhon framework
add_custom_target(
extractpyzip
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/python)