OSX/cmake: donĀ“t build target extractpyzip for MODULE
authorJens Verwiebe <info@jensverwiebe.de>
Tue, 17 Jan 2012 13:11:53 +0000 (13:11 +0000)
committerJens Verwiebe <info@jensverwiebe.de>
Tue, 17 Jan 2012 13:11:53 +0000 (13:11 +0000)
source/creator/CMakeLists.txt

index cd38aa58b38a22a401d558c5037354a0ee6fa845..61551f4f8c1f8ad771be381f3e707538ce7fd7c5 100644 (file)
@@ -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)