Skip to content

Instantly share code, notes, and snippets.

@tlvince
Created December 14, 2013 15:49
Show Gist options
  • Save tlvince/7960812 to your computer and use it in GitHub Desktop.
Save tlvince/7960812 to your computer and use it in GitHub Desktop.
--- CMakeLists.txt~ 2013-12-14 15:46:27.000000000 +0000
+++ CMakeLists.txt 2013-12-14 15:48:33.000000000 +0000
@@ -178,10 +178,12 @@
#SET (lib_dir ${CMAKE_INSTALL_PREFIX}/Marble.app/Contents/MacOS/lib)
SET (data_dir ${CMAKE_INSTALL_PREFIX}/Marble.app/Contents/MacOS/resources/data)
SET (plugin_dir ${CMAKE_INSTALL_PREFIX}/Marble.app/Contents/MacOS/resources/plugins)
+ set(CMAKE_MODULES_INSTALL_PATH ${CMAKE_ROOT}/Modules)
else (QTONLY) # KDE4 on Mac...
set(data_dir ${DATA_INSTALL_DIR}/marble/data)
set(plugin_dir ${PLUGIN_INSTALL_DIR}/plugins/marble)
set(APPS_INSTALL_DIR ${XDG_APPS_INSTALL_DIR})
+ set(CMAKE_MODULES_INSTALL_PATH ${DATA_INSTALL_DIR}/cmake/modules)
endif (QTONLY)
else(APPLE) # Linux / bsd etc...
if (QTONLY)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment