diff options
author | Emilio Pozuelo Monfort <pochu27@gmail.com> | 2017-10-31 00:20:29 +0100 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2017-10-31 00:20:55 +0100 |
commit | 67c3878ef10449b241c37d1022e2518029860335 (patch) | |
tree | 99001db5552e13274fe82eaf0c120f8e1f0df084 /glib/reference/CMakeLists.txt | |
parent | 4d109589e5d2ac989d4fd7ac318ddf976f3106ed (diff) |
cmake: support GNUInstallDirs
This allows users to set various install directories, e.g.
libdir, includedir, mandir...
Bug #103211
Diffstat (limited to 'glib/reference/CMakeLists.txt')
-rw-r--r-- | glib/reference/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/reference/CMakeLists.txt b/glib/reference/CMakeLists.txt index 2743ffbc..15515406 100644 --- a/glib/reference/CMakeLists.txt +++ b/glib/reference/CMakeLists.txt @@ -8,5 +8,5 @@ add_custom_command( add_custom_target(glib-docs ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/glib-docs-build.stamp) install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/ - DESTINATION "${SHARE_INSTALL_DIR}/gtk-doc/html/poppler" + DESTINATION "${CMAKE_INSTALL_DATADIR}/gtk-doc/html/poppler" ) |