We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9336e35 commit 3ce27d6Copy full SHA for 3ce27d6
CMakeLists.txt
@@ -623,6 +623,14 @@ ENDIF (ENABLE_TESTS)
623
IF (APPLE)
624
# must be last for install, so install_name_tool can do its work
625
ADD_SUBDIRECTORY(mac)
626
+
627
+ # make hard link to embedded app bundle binary (symlink won't work)
628
+ # allows QGIS to be run directly from build directory
629
+ IF (EXISTS "${CMAKE_BINARY_DIR}/output/bin/QGIS.app/Contents/MacOS/QGIS")
630
+ EXECUTE_PROCESS(COMMAND /bin/ln -f
631
+ "${CMAKE_BINARY_DIR}/output/bin/QGIS.app/Contents/MacOS/QGIS"
632
+ "${CMAKE_BINARY_DIR}/output/bin/QGIS")
633
+ ENDIF ()
634
ENDIF (APPLE)
635
636
# manual page - makes sense only on unix systems
0 commit comments