Apple Bundle Fix

This commit is contained in:
Tres Finocchiaro
2014-05-04 02:13:05 -04:00
parent 9a0f930416
commit 3e9314bb63

View File

@@ -670,7 +670,7 @@ CONFIGURE_FILE("${CMAKE_SOURCE_DIR}/data/scripts/create_apple_dmg.sh.in" "${CMAK
# Add execute permissions to bundle script
SET(CHMOD_CMD "chmod")
SET(CHMOD_ARG1 "u+x")
SET(CHMOD_ARG2 "chmod u+x "${CMAKE_INSTALL_PREFIX}/create_apple_bundle.sh")
SET(CHMOD_ARG2 "${CMAKE_INSTALL_PREFIX}/create_apple_bundle.sh")
EXECUTE_PROCESS(COMMAND ${CHMOD_CMD} ${CHMOD_ARG1} ${CHMOD_ARG2})
#endif