From a79a492601db1d30a5690aa3aebacfa64e6213e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Wed, 31 May 2017 10:52:19 +0300 Subject: [PATCH] Tell libmicrohttpd where to install libraries Explicitly specify the library location for the configure script. This should prevent problems with different library paths that the configure script can generate. --- cmake/BuildMicroHttpd.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/BuildMicroHttpd.cmake b/cmake/BuildMicroHttpd.cmake index bd2fcd8e2..9de770a4d 100644 --- a/cmake/BuildMicroHttpd.cmake +++ b/cmake/BuildMicroHttpd.cmake @@ -1,7 +1,7 @@ ExternalProject_Add(libmicrohttpd URL http://ftpmirror.gnu.org/libmicrohttpd/libmicrohttpd-0.9.54.tar.gz SOURCE_DIR ${CMAKE_BINARY_DIR}/libmicrohttpd/ - CONFIGURE_COMMAND ${CMAKE_BINARY_DIR}/libmicrohttpd//configure --prefix=${CMAKE_BINARY_DIR}/libmicrohttpd/ --enable-shared --with-pic + CONFIGURE_COMMAND ${CMAKE_BINARY_DIR}/libmicrohttpd//configure --prefix=${CMAKE_BINARY_DIR}/libmicrohttpd/ --enable-shared --with-pic --libdir=${CMAKE_BINARY_DIR}/libmicrohttpd/lib/ BINARY_DIR ${CMAKE_BINARY_DIR}/libmicrohttpd/ BUILD_COMMAND make INSTALL_COMMAND make install)