[Marble-commits] KDE/kdeedu/marble
Dennis Nienhüser
earthwings at gentoo.org
Wed Oct 13 21:47:16 CEST 2010
SVN commit 1185587 by nienhueser:
Install FindMarble.cmake to prefix/share/marble/cmake/ which is a valid location according to cmake --help-command find_package in contrast to the previous Modules/ location (in QTONLY on Unix). Also fixes permission problems when installing to a custom CMAKE_INSTALL_PREFIX.
M +1 -1 CMakeLists.txt
--- trunk/KDE/kdeedu/marble/CMakeLists.txt #1185586:1185587
@@ -118,7 +118,7 @@
if (QTONLY)
set(data_dir ${CMAKE_INSTALL_PREFIX}/share/marble/data)
set(plugin_dir ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}/marble/plugins)
- set(CMAKE_MODULES_INSTALL_PATH ${CMAKE_ROOT}/Modules)
+ set(CMAKE_MODULES_INSTALL_PATH ${CMAKE_INSTALL_PREFIX}/share/marble/cmake)
else (QTONLY)
set(data_dir ${DATA_INSTALL_DIR}/marble/data)
set(plugin_dir ${PLUGIN_INSTALL_DIR}/plugins/marble)
More information about the Marble-commits
mailing list