fix wrong install path for macOS Qt-based applications.
This commit is contained in:
@@ -114,7 +114,7 @@ endif (APPLE)
|
||||
|
||||
#--- install ------------------------------------------------------------------
|
||||
if (APPLE)
|
||||
install(TARGETS mupp BUNDLE DESTINATION Applications)
|
||||
install(TARGETS mupp BUNDLE DESTINATION /Applications)
|
||||
else (APPLE)
|
||||
install(TARGETS mupp DESTINATION ${CMAKE_INSTALL_BINDIR})
|
||||
endif (APPLE)
|
||||
|
||||
@@ -75,7 +75,7 @@ target_link_libraries(mupp_plot ${ROOT_LIBRARIES})
|
||||
|
||||
#--- install ------------------------------------------------------------------
|
||||
if (APPLE)
|
||||
install(TARGETS mupp_plot DESTINATION Applications/mupp.app/Contents/MacOS)
|
||||
install(TARGETS mupp_plot DESTINATION /Applications/mupp.app/Contents/MacOS)
|
||||
else (APPLE)
|
||||
install(TARGETS mupp_plot DESTINATION ${CMAKE_INSTALL_BINDIR})
|
||||
endif (APPLE)
|
||||
|
||||
@@ -71,7 +71,7 @@ endif (APPLE)
|
||||
|
||||
if (APPLE)
|
||||
install( TARGETS musrStep
|
||||
BUNDLE DESTINATION Applications
|
||||
BUNDLE DESTINATION /Applications
|
||||
)
|
||||
else (APPLE)
|
||||
install( TARGETS musrStep
|
||||
|
||||
@@ -75,7 +75,7 @@ endif (APPLE)
|
||||
|
||||
if (APPLE)
|
||||
install( TARGETS musrWiz
|
||||
BUNDLE DESTINATION Applications
|
||||
BUNDLE DESTINATION /Applications
|
||||
)
|
||||
else (APPLE)
|
||||
install( TARGETS musrWiz
|
||||
|
||||
@@ -125,7 +125,7 @@ endif (APPLE)
|
||||
|
||||
if (APPLE)
|
||||
install( TARGETS musredit
|
||||
BUNDLE DESTINATION Applications
|
||||
BUNDLE DESTINATION /Applications
|
||||
)
|
||||
else (APPLE)
|
||||
install( TARGETS musredit
|
||||
|
||||
@@ -115,7 +115,7 @@ endif (APPLE)
|
||||
|
||||
#--- install ------------------------------------------------------------------
|
||||
if (APPLE)
|
||||
install(TARGETS mupp BUNDLE DESTINATION Applications)
|
||||
install(TARGETS mupp BUNDLE DESTINATION /Applications)
|
||||
else (APPLE)
|
||||
install(TARGETS mupp DESTINATION ${CMAKE_INSTALL_BINDIR})
|
||||
endif (APPLE)
|
||||
|
||||
@@ -75,7 +75,7 @@ target_link_libraries(mupp_plot ${ROOT_LIBRARIES})
|
||||
|
||||
#--- install ------------------------------------------------------------------
|
||||
if (APPLE)
|
||||
install(TARGETS mupp_plot DESTINATION Applications/mupp.app/Contents/MacOS)
|
||||
install(TARGETS mupp_plot DESTINATION /Applications/mupp.app/Contents/MacOS)
|
||||
else (APPLE)
|
||||
install(TARGETS mupp_plot DESTINATION ${CMAKE_INSTALL_BINDIR})
|
||||
endif (APPLE)
|
||||
|
||||
@@ -72,7 +72,7 @@ endif (APPLE)
|
||||
|
||||
if (APPLE)
|
||||
install( TARGETS musrStep
|
||||
BUNDLE DESTINATION Applications
|
||||
BUNDLE DESTINATION /Applications
|
||||
)
|
||||
else (APPLE)
|
||||
install( TARGETS musrStep
|
||||
|
||||
@@ -76,7 +76,7 @@ endif (APPLE)
|
||||
|
||||
if (APPLE)
|
||||
install( TARGETS musrWiz
|
||||
BUNDLE DESTINATION Applications
|
||||
BUNDLE DESTINATION /Applications
|
||||
)
|
||||
else (APPLE)
|
||||
install( TARGETS musrWiz
|
||||
|
||||
@@ -125,7 +125,7 @@ endif (APPLE)
|
||||
|
||||
if (APPLE)
|
||||
install( TARGETS musredit
|
||||
BUNDLE DESTINATION Applications
|
||||
BUNDLE DESTINATION /Applications
|
||||
)
|
||||
else (APPLE)
|
||||
install( TARGETS musredit
|
||||
|
||||
Reference in New Issue
Block a user