Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Context not available. | |||||
113 | #################################################### | 113 | #################################################### | ||
---|---|---|---|---|---|
114 | # Build a D-Bus interface for marble | 114 | # Build a D-Bus interface for marble | ||
115 | # This is disabled by default for all win32, apple and Qt-Only builds | 115 | # This is disabled by default for all win32, apple and Qt-Only builds | ||
116 | if(WIN32 OR APPLE OR CMAKE_SYSTEM_NAME STREQUAL Android) | 116 | if(WIN32 OR APPEL OR CMAKE_SYSTEM_NAME STREQUAL Android) | ||
117 | option(BUILD_WITH_DBUS "Build the D-Bus interface for the Marble widget" OFF) | 117 | option(BUILD_WITH_DBUS "Build the D-Bus interface for the Marble widget" OFF) | ||
118 | else() | 118 | else() | ||
119 | option(BUILD_WITH_DBUS "Build the D-Bus interface for the Marble widget" ON) | 119 | option(BUILD_WITH_DBUS "Build the D-Bus interface for the Marble widget" ON) | ||
Context not available. | |||||
157 | FIND_LIBRARY(APP_SERVICES_LIBRARY ApplicationServices ) | 157 | FIND_LIBRARY(APP_SERVICES_LIBRARY ApplicationServices ) | ||
158 | MARK_AS_ADVANCED (APP_SERVICES_LIBRARY) | 158 | MARK_AS_ADVANCED (APP_SERVICES_LIBRARY) | ||
159 | SET(MAC_EXTRA_LIBS ${APP_SERVICES_LIBRARY}) | 159 | SET(MAC_EXTRA_LIBS ${APP_SERVICES_LIBRARY}) | ||
160 | # for Mac OS X, everything is put inside an application bundle | 160 | # # for Mac OS X, everything is put inside an application bundle | ||
161 | SET (CMAKE_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX}/) | 161 | # SET (CMAKE_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX}/) | ||
162 | # path for library references | 162 | # # path for library references | ||
163 | SET (CMAKE_INSTALL_NAME_DIR @executable_path/lib) | 163 | # SET (CMAKE_INSTALL_NAME_DIR @executable_path/lib) | ||
164 | # install the Info.plist file | 164 | # # install the Info.plist file | ||
165 | install(FILES src/mac/Info.plist DESTINATION ${CMAKE_INSTALL_PREFIX}/Marble.app/Contents) | 165 | # install(FILES src/mac/Info.plist DESTINATION ${CMAKE_INSTALL_PREFIX}/Marble.app/Contents) | ||
166 | #SET (lib_dir ${CMAKE_INSTALL_PREFIX}/Marble.app/Contents/MacOS/lib) | 166 | # #SET (lib_dir ${CMAKE_INSTALL_PREFIX}/Marble.app/Contents/MacOS/lib) | ||
167 | SET (data_dir ${CMAKE_INSTALL_PREFIX}/Marble.app/Contents/MacOS/resources/data) | 167 | # SET (data_dir ${CMAKE_INSTALL_PREFIX}/Marble.app/Contents/MacOS/resources/data) | ||
168 | SET (plugin_dir ${CMAKE_INSTALL_PREFIX}/Marble.app/Contents/MacOS/resources/plugins) | 168 | # SET (plugin_dir ${CMAKE_INSTALL_PREFIX}/Marble.app/Contents/MacOS/resources/plugins) | ||
169 | set(data_dir ${CMAKE_INSTALL_PREFIX}/share/marble/data) | ||||
170 | set(plugin_dir ${CMAKE_INSTALL_FULL_LIBDIR}/marble/plugins) | ||||
171 | set(CMAKE_MODULES_INSTALL_PATH ${CMAKE_INSTALL_PREFIX}/share/marble/cmake) | ||||
169 | elseif(CMAKE_SYSTEM_NAME STREQUAL Android) | 172 | elseif(CMAKE_SYSTEM_NAME STREQUAL Android) | ||
170 | set(plugin_dir "${CMAKE_INSTALL_PREFIX}/assets/plugins") | 173 | set(plugin_dir "${CMAKE_INSTALL_PREFIX}/assets/plugins") | ||
171 | set(data_dir "${CMAKE_INSTALL_PREFIX}/assets/data") | 174 | set(data_dir "${CMAKE_INSTALL_PREFIX}/assets/data") | ||
Context not available. |