From f3e39fc8c9d83fff1e4d591b27073586d855bdc6 Mon Sep 17 00:00:00 2001 From: Jens Verwiebe Date: Tue, 17 Jan 2012 13:11:53 +0000 Subject: =?UTF-8?q?OSX/cmake:=20don=C2=B4t=20build=20target=20extractpyzip?= =?UTF-8?q?=20for=20MODULE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/creator/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/creator') 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) -- cgit v1.2.3