Fix #23099: cmake/mac did not copy the scripts/ directory correct for install.
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Wed, 4 Aug 2010 16:05:19 +0000 (16:05 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Wed, 4 Aug 2010 16:05:19 +0000 (16:05 +0000)
source/creator/CMakeLists.txt

index feeb99b07487e3a559d3fb2c45cc65386966b33c..4088369a05be9360b428fc2ad6f1e63bbde3b62a 100644 (file)
@@ -275,7 +275,7 @@ IF(WITH_INSTALL)
                        SET(PYTHON_ZIP "python_${CMAKE_OSX_ARCHITECTURES}.zip")
                        ADD_CUSTOM_COMMAND(
                                TARGET blender POST_BUILD MAIN_DEPENDENCY blender
-                               COMMAND cp -Rf ${CMAKE_SOURCE_DIR}/release/scripts ${TARGETDIR}/blender.app/Contents/MacOS/scripts/
+                               COMMAND cp -Rf ${CMAKE_SOURCE_DIR}/release/scripts ${TARGETDIR}/blender.app/Contents/MacOS/
                                COMMAND rm -Rf ${TARGETDIR}/blender.app/Contents/MacOS/python/
                                COMMAND mkdir ${TARGETDIR}/blender.app/Contents/MacOS/python/
                                COMMAND unzip -q ${LIBDIR}/release/${PYTHON_ZIP} -d ${TARGETDIR}/blender.app/Contents/MacOS/python/