Commit e43a48c1 authored by Nat Goodspeed's avatar Nat Goodspeed
Browse files

DRTVWR-418: Explicitly set CMake var ENABLE_THREADED_RESOLVER.

build-cmd.sh has a 'check_damage' shell function that checks to see whether
USE_THREADS_POSIX is set in curl_config.h. In version 7.54.1, it isn't: you
must specifically request it by overriding ENABLE_THREADED_RESOLVER on the
CMake command line. Pass that.
parent ca801f04
......@@ -127,7 +127,8 @@ pushd "$CURL_BUILD_DIR"
fi
cmake ../${CURL_SOURCE_DIR} -G"$CMAKE_GEN" -DCMAKE_C_FLAGS:STRING="$LL_BUILD_RELEASE" \
-DCMAKE_CXX_FLAGS:STRING="$LL_BUILD_RELEASE" -DCMAKE_INSTALL_PREFIX="$(cygpath -m "$stage")"
-DCMAKE_CXX_FLAGS:STRING="$LL_BUILD_RELEASE" \
-DCMAKE_INSTALL_PREFIX="$(cygpath -m "$stage")"
check_damage "$AUTOBUILD_PLATFORM"
......@@ -201,6 +202,7 @@ pushd "$CURL_BUILD_DIR"
cmake ../${CURL_SOURCE_DIR} -GXcode -DCMAKE_C_FLAGS:STRING="$opts" \
-DCMAKE_CXX_FLAGS:STRING="$opts" -D'BUILD_SHARED_LIBS:bool=off' \
-DENABLE_THREADED_RESOLVER:BOOL=ON \
-D'BUILD_CODEC:bool=off' -DCMAKE_INSTALL_PREFIX=$stage
check_damage "$AUTOBUILD_PLATFORM"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment