Install CMake config file inside lib/ directory on Unix.

This commit is contained in:
Andreas Schuh 2013-08-01 00:01:21 +01:00
parent 42a0018843
commit 43a33dcd53

View file

@ -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)