From 1e2f56c35a04cfbc0c12cd9bbf63dd48563ce473 Mon Sep 17 00:00:00 2001 From: Thomas Capricelli Date: Wed, 11 Nov 2009 15:35:12 +0100 Subject: [PATCH] backport of b53c2fcc996d9944aba152dfa5917bbd8b9615eb : fix install dir for *.pc Ingmar Vanhassel : Packages that don't install architecture-specific files should install their pkg-config file to datadir, not libdir. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0fe81bbec..178c5b349 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -88,7 +88,7 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}) if(EIGEN_BUILD_PKGCONFIG) configure_file(eigen2.pc.in eigen2.pc) # uses INCLUDE_INSTALL_DIR install(FILES ${CMAKE_CURRENT_BINARY_DIR}/eigen2.pc - DESTINATION lib/pkgconfig + DESTINATION share/pkgconfig ) endif(EIGEN_BUILD_PKGCONFIG)