diff options
author | Millian Poquet <millian.poquet@inria.fr> | 2018-12-10 18:54:40 +0100 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2018-12-10 11:12:36 -0800 |
commit | b3db08ffccb78d680d8f7665ad9ed4cff6f92fcf (patch) | |
tree | 9f2f15bedd24fd6490536c4e112a9d841d43bc99 /CMakeLists.txt | |
parent | ba84465d2efdc6ca4c555f9d0c9f8932212f260c (diff) | |
download | pugixml-b3db08ffccb78d680d8f7665ad9ed4cff6f92fcf.zip pugixml-b3db08ffccb78d680d8f7665ad9ed4cff6f92fcf.tar.gz pugixml-b3db08ffccb78d680d8f7665ad9ed4cff6f92fcf.tar.bz2 |
pkg-config: Use CMake GnuInstallDirs FULL vars
Fixes an installation problem in Nix packages, as non-FULL variables are
already absolute paths in this case.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ddc5a5a..e8c4f59 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -76,7 +76,7 @@ install(FILES ${HEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}${INSTALL_SUFFIX install(EXPORT pugixml-config DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/pugixml) configure_file(scripts/pugixml.pc.in ${PROJECT_BINARY_DIR}/pugixml.pc @ONLY) -install(FILES ${PROJECT_BINARY_DIR}/pugixml.pc DESTINATION ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/pkgconfig) +install(FILES ${PROJECT_BINARY_DIR}/pugixml.pc DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR}/pkgconfig) if(BUILD_TESTS) file(GLOB TEST_SOURCES tests/*.cpp) |