From 43a33dcd536f56f12922d658b1f0e7192c03aec8 Mon Sep 17 00:00:00 2001 From: Andreas Schuh <andreas.schuh.84@gmail.com> Date: Thu, 1 Aug 2013 00:01:21 +0100 Subject: [PATCH] Install CMake config file inside lib/ directory on Unix. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cdebb7c..60dfb3c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -156,7 +156,7 @@ if (WIN32) else () set (LIBRARY_INSTALL_DIR lib) set (INCLUDE_INSTALL_DIR include) - set (CONFIG_INSTALL_DIR cmake/${PACKAGE_NAME}) + set (CONFIG_INSTALL_DIR lib/cmake/${PACKAGE_NAME}) endif () install (TARGETS ${PACKAGE_NAME} DESTINATION ${LIBRARY_INSTALL_DIR} EXPORT gflags-lib) -- GitLab