Changeset View
Changeset View
Standalone View
Standalone View
src/apps/marble-qt/CMakeLists.txt
Context not available. | |||||
14 | set_target_properties(marble-qt PROPERTIES LINK_FLAGS "/ENTRY:\"mainCRTStartup\"") | 14 | set_target_properties(marble-qt PROPERTIES LINK_FLAGS "/ENTRY:\"mainCRTStartup\"") | ||
---|---|---|---|---|---|
15 | endif() | 15 | endif() | ||
16 | else (WIN32) | 16 | else (WIN32) | ||
17 | if (APPLE) | 17 | if (APPLE AND APPLE_STANDALONE_BUNDLE) | ||
18 | add_executable (marble-qt ${marble_SRCS}) | 18 | add_executable (marble-qt ${marble_SRCS}) | ||
19 | # For Mac OS X, the executable must be at the root of the bundle's executable folder | 19 | # For Mac OS X, the executable must be at the root of the bundle's executable folder | ||
20 | INSTALL(TARGETS marble-qt RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/Marble.app/Contents/MacOS) | 20 | INSTALL(TARGETS marble-qt RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/Marble.app/Contents/MacOS) | ||
21 | else (APPLE) | 21 | else (APPLE AND APPLE_STANDALONE_BUNDLE) | ||
22 | add_executable (marble-qt ${marble_SRCS}) | 22 | add_executable (marble-qt ${marble_SRCS}) | ||
23 | endif (APPLE) | 23 | endif (APPLE AND APPLE_STANDALONE_BUNDLE) | ||
24 | endif (WIN32) | 24 | endif (WIN32) | ||
25 | 25 | | |||
26 | target_link_libraries ( | 26 | target_link_libraries ( | ||
Context not available. | |||||
50 | if(WIN32) | 50 | if(WIN32) | ||
51 | install (TARGETS marble-qt RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}) | 51 | install (TARGETS marble-qt RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}) | ||
52 | else(WIN32) | 52 | else(WIN32) | ||
53 | if (APPLE) | 53 | if (APPLE AND APPLE_STANDALONE_BUNDLE) | ||
54 | # No need for this when installing to a bundle | 54 | # No need for this when installing to a bundle | ||
55 | else (APPLE) | 55 | else (APPLE AND APPLE_STANDALONE_BUNDLE) | ||
56 | install (TARGETS marble-qt RUNTIME DESTINATION bin ) | 56 | install (TARGETS marble-qt RUNTIME DESTINATION bin ) | ||
57 | endif (APPLE) | 57 | endif (APPLE AND APPLE_STANDALONE_BUNDLE) | ||
58 | endif(WIN32) | 58 | endif(WIN32) | ||
59 | if(APPS_INSTALL_DIR) | 59 | if(APPS_INSTALL_DIR) | ||
60 | install(PROGRAMS org.kde.marble-qt.desktop DESTINATION ${APPS_INSTALL_DIR}) | 60 | install(PROGRAMS org.kde.marble-qt.desktop DESTINATION ${APPS_INSTALL_DIR}) | ||
Context not available. |