aboutsummaryrefslogtreecommitdiff
path: root/cmake/scripts/osx/Install.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/scripts/osx/Install.cmake')
-rw-r--r--cmake/scripts/osx/Install.cmake12
1 files changed, 6 insertions, 6 deletions
diff --git a/cmake/scripts/osx/Install.cmake b/cmake/scripts/osx/Install.cmake
index 3924ccf032..77c771c9e1 100644
--- a/cmake/scripts/osx/Install.cmake
+++ b/cmake/scripts/osx/Install.cmake
@@ -2,7 +2,7 @@
set(PACKAGE_OUTPUT_DIR ${CMAKE_BINARY_DIR}/build/${CORE_BUILD_CONFIG})
-configure_file(${CORE_SOURCE_DIR}/xbmc/platform/darwin/osx/Info.plist.in
+configure_file(${CMAKE_SOURCE_DIR}/xbmc/platform/darwin/osx/Info.plist.in
${CMAKE_BINARY_DIR}/xbmc/platform/darwin/osx/Info.plist @ONLY)
execute_process(COMMAND perl -p -i -e "s/r####/${APP_SCMID}/" ${CMAKE_BINARY_DIR}/xbmc/platform/darwin/osx/Info.plist)
@@ -15,24 +15,24 @@ add_custom_target(bundle
"TARGET_NAME=${APP_NAME}.app"
"APP_NAME=${APP_NAME}"
"SRCROOT=${CMAKE_BINARY_DIR}"
- ${CORE_SOURCE_DIR}/tools/darwin/Support/CopyRootFiles-osx.command
+ ${CMAKE_SOURCE_DIR}/tools/darwin/Support/CopyRootFiles-osx.command
COMMAND "XBMC_DEPENDS=${DEPENDS_PATH}"
"TARGET_BUILD_DIR=${PACKAGE_OUTPUT_DIR}"
"TARGET_NAME=${APP_NAME}.app"
"APP_NAME=${APP_NAME}"
"FULL_PRODUCT_NAME=${APP_NAME}.app"
"SRCROOT=${CMAKE_BINARY_DIR}"
- ${CORE_SOURCE_DIR}/tools/darwin/Support/copyframeworks-osx.command)
+ ${CMAKE_SOURCE_DIR}/tools/darwin/Support/copyframeworks-osx.command)
set_target_properties(bundle PROPERTIES FOLDER "Build Utilities")
add_dependencies(bundle ${APP_NAME_LC})
-configure_file(${CORE_SOURCE_DIR}/tools/darwin/packaging/osx/mkdmg-osx.sh.in
+configure_file(${CMAKE_SOURCE_DIR}/tools/darwin/packaging/osx/mkdmg-osx.sh.in
${CMAKE_BINARY_DIR}/tools/darwin/packaging/osx/mkdmg-osx.sh @ONLY)
add_custom_target(dmg
- COMMAND ${CMAKE_COMMAND} -E copy_directory ${CORE_SOURCE_DIR}/tools/darwin/packaging/osx/
+ COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_SOURCE_DIR}/tools/darwin/packaging/osx/
${CMAKE_BINARY_DIR}/tools/darwin/packaging/osx/
- COMMAND ${CMAKE_COMMAND} -E copy_directory ${CORE_SOURCE_DIR}/tools/darwin/packaging/media/osx/
+ COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_SOURCE_DIR}/tools/darwin/packaging/media/osx/
${CMAKE_BINARY_DIR}/tools/darwin/packaging/media/osx/
COMMAND ./mkdmg-osx.sh ${CORE_BUILD_CONFIG}
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/tools/darwin/packaging/osx)