From 3bc72fb3d336427fd80936817893ee72ba5a952e Mon Sep 17 00:00:00 2001 From: Ximin Luo Date: Sun, 14 Sep 2014 15:25:56 +0100 Subject: [PATCH] the recommended path is ${prefix}/lib/cmake/${package} - http://www.cmake.org/cmake/help/git-master/manual/cmake-packages.7.html - the old path lib/CMake is from an older document http://www.cmake.org/Wiki/CMake/Tutorials/How_to_create_a_ProjectConfig.cmake_file --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 70d30e1e1..48aa2a01c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,7 +16,7 @@ include(GNUInstallDirs) if(WIN32 AND NOT CYGWIN) set(DEF_INSTALL_CMAKE_DIR CMake) else() - set(DEF_INSTALL_CMAKE_DIR lib/CMake/cppnetlib) + set(DEF_INSTALL_CMAKE_DIR lib/cmake/cppnetlib) endif() set(INSTALL_CMAKE_DIR ${DEF_INSTALL_CMAKE_DIR} CACHE PATH "Installation directory for CMake files")