From a21a967ba8e8535b16a4fe57b1e2b7c4a6b3ab44 Mon Sep 17 00:00:00 2001 From: Tobias Gruetzmacher Date: Fri, 6 May 2016 22:45:35 +0200 Subject: Fix cpp-netlib cmake directory. For find_package(cppnetlib) to work, the directory for the cmake files must be called the same as the files installed into the directory. --- src/cpp-netlib.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpp-netlib.mk b/src/cpp-netlib.mk index 2420d2c..c8be3b3 100644 --- a/src/cpp-netlib.mk +++ b/src/cpp-netlib.mk @@ -20,7 +20,7 @@ define $(PKG)_BUILD mkdir '$(1)/build' cd '$(1)/build' && cmake .. \ -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \ - -DINSTALL_CMAKE_DIR='$(PREFIX)/$(TARGET)/cmake/$(PKG)' \ + -DINSTALL_CMAKE_DIR='$(PREFIX)/$(TARGET)/cmake/cppnetlib' \ -DCPP-NETLIB_BUILD_EXAMPLES=OFF \ -DCPP-NETLIB_BUILD_TESTS=OFF -- cgit v0.12