Commit aa04bba4 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

Fix appveyor build with newer OpenSSL.

Using /WX (warning as error) during configuration step caused
HAVE_OPENSSL_APPLINK_C to be OFF

This made client utilities fail with "Applink not found" during runtime.

Hardcode -DHAVE_OPENSSL_APPLINK_C=1 for CMake for now, fix connector
later.
parent 8e980acb
...@@ -21,7 +21,7 @@ build_script: ...@@ -21,7 +21,7 @@ build_script:
- set PATH=%OPENSSL_ROOT_DIR%;%PATH% - set PATH=%OPENSSL_ROOT_DIR%;%PATH%
- set GENERATOR=-GNinja - set GENERATOR=-GNinja
- call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat" - call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat"
- cmake -E time cmake %GENERATOR% .. -DWITH_SSL=system -DOPENSSL_ROOT_DIR=%OPENSSL_ROOT_DIR% -DCMAKE_BUILD_TYPE=%BUILD_TYPE% -DMYSQL_MAINTAINER_MODE=ERR -DFAST_BUILD=1 -DBISON_EXECUTABLE=C:\cygwin64\bin\bison.exe -DPLUGIN_PERFSCHEMA=NO -DPLUGIN_FEEDBACK=NO - cmake -E time cmake %GENERATOR% .. -DWITH_SSL=system -DHAVE_OPENSSL_APPLINK_C=1 -DOPENSSL_ROOT_DIR=%OPENSSL_ROOT_DIR% -DCMAKE_BUILD_TYPE=%BUILD_TYPE% -DMYSQL_MAINTAINER_MODE=ERR -DFAST_BUILD=1 -DBISON_EXECUTABLE=C:\cygwin64\bin\bison.exe -DPLUGIN_PERFSCHEMA=NO -DPLUGIN_FEEDBACK=NO
- set /A jobs=2*%NUMBER_OF_PROCESSORS% - set /A jobs=2*%NUMBER_OF_PROCESSORS%
- cmake -E time cmake --build . -j %jobs% --config %BUILD_TYPE% --target minbuild - cmake -E time cmake --build . -j %jobs% --config %BUILD_TYPE% --target minbuild
......
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