Skip to content

Commit 4c428ab

Browse files
committed
use standard libdir (which is an arch triple on Debian) instead of hardcoded "lib" for cmake package files
1 parent 0695d62 commit 4c428ab

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 ${CMAKE_INSTALL_LIBDIR}/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)