Skip to content
Permalink
Browse files

Redo of 3ce27d6, hard-link to Mac embedded app bundle binary

  • Loading branch information
dakcarto committed Oct 25, 2012
1 parent b942bf1 commit 4ed1a66ddff4601fef705ea8d3326c0e3a7fdd0f
Showing with 5 additions and 5 deletions.
  1. +5 −5 CMakeLists.txt
@@ -626,11 +626,11 @@ IF (APPLE)

# make hard link to embedded app bundle binary (symlink won't work)
# allows QGIS to be run directly from build directory
IF (EXISTS "${CMAKE_BINARY_DIR}/output/bin/QGIS.app/Contents/MacOS/QGIS")
EXECUTE_PROCESS(COMMAND /bin/ln -f
"${CMAKE_BINARY_DIR}/output/bin/QGIS.app/Contents/MacOS/QGIS"
"${CMAKE_BINARY_DIR}/output/bin/QGIS")
ENDIF ()
ADD_CUSTOM_TARGET(mac_hardlink ALL
COMMAND /bin/ln -f QGIS.app/Contents/MacOS/QGIS QGIS
WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/output/bin"
DEPENDS QGIS
)
ENDIF (APPLE)

# manual page - makes sense only on unix systems

0 comments on commit 4ed1a66

Please sign in to comment.
You can’t perform that action at this time.