Skip to content

Commit 3bc72fb

Browse files
committed
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
1 parent e950d1b commit 3bc72fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ include(GNUInstallDirs)
1616
if(WIN32 AND NOT CYGWIN)
1717
set(DEF_INSTALL_CMAKE_DIR CMake)
1818
else()
19-
set(DEF_INSTALL_CMAKE_DIR lib/CMake/cppnetlib)
19+
set(DEF_INSTALL_CMAKE_DIR lib/cmake/cppnetlib)
2020
endif()
2121
set(INSTALL_CMAKE_DIR ${DEF_INSTALL_CMAKE_DIR} CACHE PATH "Installation directory for CMake files")
2222

0 commit comments

Comments
 (0)