From 7f818c1e29d66ab335b3c232f60ae4b7899a9913 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Tue, 4 Apr 2017 12:51:13 +0200 Subject: Use GNUInstallDirs to set install paths --- CMakeLists.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 33342fb..390d2eb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -75,11 +75,13 @@ macro(create_enums prefix template_prefix header_list) endmacro() #}}} #{{{ Configure -include(ConfigurePaths) include(PkgConfigVars) -configure_paths(UCA) +include(GNUInstallDirs) -set(UCA_PLUGINDIR "${UCA_LIBDIR}/uca") +set(CMAKE_INSTALL_GIRDIR "${CMAKE_INSTALL_DATAROOTDIR}/gir-1.0") +set(CMAKE_INSTALL_PLUGINDIR "${CMAKE_INSTALL_LIBDIR}/ufo") +set(CMAKE_INSTALL_TYPELIBDIR "${CMAKE_INSTALL_LIBDIR}/girepository-1.0") +set(CMAKE_INSTALL_PKGCONFIGDIR "${CMAKE_INSTALL_LIBDIR}/pkgconfig") configure_file(${CMAKE_CURRENT_SOURCE_DIR}/package.sh.in ${CMAKE_CURRENT_BINARY_DIR}/package.sh) -- cgit v1.2.3