aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-07-01 19:02:47 -0500
committerCharles Kerr <charles.kerr@canonical.com>2013-07-01 19:02:47 -0500
commit477dc6fa22bcd37b23deb45b57bec6518ba52ad9 (patch)
treebc8d5b60f2b175e883be546b2cef46f50afb807c /cmake
parent6ee61b9bb4d92e5c9a41d2259e879486ec0d730a (diff)
downloadayatana-indicator-session-477dc6fa22bcd37b23deb45b57bec6518ba52ad9.tar.gz
ayatana-indicator-session-477dc6fa22bcd37b23deb45b57bec6518ba52ad9.tar.bz2
ayatana-indicator-session-477dc6fa22bcd37b23deb45b57bec6518ba52ad9.zip
in the cmake files, prefer the _FULL versions of the GNU variables
Diffstat (limited to 'cmake')
-rw-r--r--cmake/UseGSettings.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/UseGSettings.cmake b/cmake/UseGSettings.cmake
index 4050b53..3b61523 100644
--- a/cmake/UseGSettings.cmake
+++ b/cmake/UseGSettings.cmake
@@ -3,7 +3,7 @@
macro(add_schema SCHEMA_NAME)
set(PKG_CONFIG_EXECUTABLE pkg-config)
- set(GSETTINGS_DIR "${CMAKE_INSTALL_PREFIX}/share/glib-2.0/schemas")
+ set(GSETTINGS_DIR "${CMAKE_INSTALL_FULL_DATAROOTDIR}/glib-2.0/schemas")
# Run the validator and error if it fails
execute_process (COMMAND ${PKG_CONFIG_EXECUTABLE} gio-2.0 --variable glib_compile_schemas OUTPUT_VARIABLE _glib_compile_schemas OUTPUT_STRIP_TRAILING_WHITESPACE)