summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorHeiko Becker <heirecka@exherbo.org>2015-05-01 11:51:04 +0200
committerHeiko Becker <heirecka@exherbo.org>2015-05-01 12:05:04 +0200
commitca1a6e14aef88867f2e1f5e32a842a5158d7dea4 (patch)
tree8fa87b09f7541e831664f11ed3d7a5bf3f2c60d9 /cmake
parent4085c788421fdcf96f43cbbae260554ac6fcc3db (diff)
downloadlibical-git-ca1a6e14aef88867f2e1f5e32a842a5158d7dea4.tar.gz
Use SHARE_INSTALL_DIR to install gobject-instrospection files
This is helpful on a multiarch layout where the prefix is /usr/${host} but arch-independent files should still be installed to /usr/share.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/GObjectIntrospectionMacros.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/GObjectIntrospectionMacros.cmake b/cmake/modules/GObjectIntrospectionMacros.cmake
index d499d569..08b71dda 100644
--- a/cmake/modules/GObjectIntrospectionMacros.cmake
+++ b/cmake/modules/GObjectIntrospectionMacros.cmake
@@ -71,7 +71,7 @@ macro(gir_add_introspections introspections_girs)
VERBATIM
)
list(APPEND _gir_girs ${CMAKE_CURRENT_BINARY_DIR}/${gir})
- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${gir} DESTINATION share/gir-1.0)
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${gir} DESTINATION ${SHARE_INSTALL_DIR}/gir-1.0)
string(REPLACE ".gir" ".typelib" _typelib "${gir}")
add_custom_command(