mirror of
https://github.com/clangen/musikcube.git
synced 2024-10-02 04:52:32 +00:00
Fix libmicrohttpd integration in the server plugin statically linking
This commit is contained in:
parent
58adddd7a1
commit
d3bcb053b6
@ -3,6 +3,7 @@
|
|||||||
* additional fixes for older versions of libcurl (< 7.2.0)
|
* additional fixes for older versions of libcurl (< 7.2.0)
|
||||||
* relax client/server version matching to exclude patch version (e.g. versions
|
* relax client/server version matching to exclude patch version (e.g. versions
|
||||||
0.96.0 and 0.96.1 are considered compatible, but 0.96 and 0.97 are not)
|
0.96.0 and 0.96.1 are considered compatible, but 0.96 and 0.97 are not)
|
||||||
|
* upgraded libmicrohttpd to 0.9.71 on macOS and fixed static build
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@ -31,9 +31,9 @@ if (${LINK_STATICALLY} MATCHES "true")
|
|||||||
include (ExternalProject)
|
include (ExternalProject)
|
||||||
|
|
||||||
ExternalProject_Add(libmicrohttpd
|
ExternalProject_Add(libmicrohttpd
|
||||||
URL https://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-0.9.62.tar.gz
|
URL https://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-0.9.71.tar.gz
|
||||||
BUILD_IN_SOURCE 1
|
BUILD_IN_SOURCE 1
|
||||||
CONFIGURE_COMMAND ./configure --enable-https=no --disable-curl --prefix=${CMAKE_CURRENT_SOURCE_DIR}/microhttpd/
|
CONFIGURE_COMMAND ./configure --enable-https=no --disable-curl --prefix=${CMAKE_CURRENT_SOURCE_DIR}/microhttpd/.libs/
|
||||||
BUILD_COMMAND make
|
BUILD_COMMAND make
|
||||||
INSTALL_COMMAND make install
|
INSTALL_COMMAND make install
|
||||||
TEST_COMMAND "")
|
TEST_COMMAND "")
|
||||||
|
Loading…
Reference in New Issue
Block a user