Merged changes in the trunk up to revision 54802.

This commit is contained in:
Tamito Kajiyama
2013-02-24 03:39:20 +00:00
401 changed files with 4578 additions and 2960 deletions

View File

@@ -703,7 +703,7 @@ elseif(APPLE)
)
# python
if(WITH_PYTHON AND NOT WITH_PYTHON_MODULE)
if(WITH_PYTHON AND NOT WITH_PYTHON_MODULE AND NOT WITH_PYTHON_FRAMEWORK)
# 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
@@ -756,7 +756,7 @@ elseif(APPLE)
)
# python
if(WITH_PYTHON)
if(WITH_PYTHON AND NOT WITH_PYTHON_FRAMEWORK)
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/python
COMMAND rm -rf ${CMAKE_CURRENT_BINARY_DIR}/python/