mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-22 23:42:24 +00:00
set the winsock variable differently on Windows
This commit is contained in:
parent
0586a27a13
commit
e55982a892
1 changed files with 2 additions and 1 deletions
3
external/CMakeLists.txt
vendored
3
external/CMakeLists.txt
vendored
|
@ -100,11 +100,12 @@ IF(!UNBOUND_INCLUDE_DIR OR STATIC)
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
IF(MINGW)
|
IF(MINGW)
|
||||||
|
set(ENV{USE_WINSOCK} 1)
|
||||||
EXTERNALPROJECT_ADD(
|
EXTERNALPROJECT_ADD(
|
||||||
libunbound
|
libunbound
|
||||||
PREFIX ${CMAKE_CURRENT_BINARY_DIR}/unbound
|
PREFIX ${CMAKE_CURRENT_BINARY_DIR}/unbound
|
||||||
URL ${CMAKE_CURRENT_SOURCE_DIR}/unbound/
|
URL ${CMAKE_CURRENT_SOURCE_DIR}/unbound/
|
||||||
CONFIGURE_COMMAND COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/unbound/configure USE_WINSOCK=1 --prefix=${CMAKE_FIND_ROOT_PATH} --build=${GCC_PREFIX} --host=${GCC_PREFIX} --disable-shared --enable-static --sysconfdir=${CMAKE_FIND_ROOT_PATH}/etc --localstatedir=${CMAKE_FIND_ROOT_PATH}/var --sbindir=${CMAKE_FIND_ROOT_PATH}/bin --disable-gost --disable-rpath --with-libevent=no --with-libexpat=${CMAKE_FIND_ROOT_PATH} --without-pyunbound --without-pythonmodule --with-ssl=${CMAKE_FIND_ROOT_PATH} --without-pthreads --with-libunbound-only
|
CONFIGURE_COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/unbound/configure --prefix=${CMAKE_FIND_ROOT_PATH} --build=${GCC_PREFIX} --host=${GCC_PREFIX} --disable-shared --enable-static --sysconfdir=${CMAKE_FIND_ROOT_PATH}/etc --localstatedir=${CMAKE_FIND_ROOT_PATH}/var --sbindir=${CMAKE_FIND_ROOT_PATH}/bin --disable-gost --disable-rpath --with-libevent=no --with-libexpat=${CMAKE_FIND_ROOT_PATH} --without-pyunbound --without-pythonmodule --with-ssl=${CMAKE_FIND_ROOT_PATH} --without-pthreads --with-libunbound-only
|
||||||
BUILD_COMMAND $(MAKE)
|
BUILD_COMMAND $(MAKE)
|
||||||
UPDATE_COMMAND ""
|
UPDATE_COMMAND ""
|
||||||
PATCH_COMMAND ""
|
PATCH_COMMAND ""
|
||||||
|
|
Loading…
Reference in a new issue