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.
This commit is contained in:
Markus Mäkelä 2017-05-31 10:52:19 +03:00
parent 3409cd1178
commit a79a492601

View File

@ -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)