Fix appveyor.yml to pass USE_PYTHON_VERSION

This commit is contained in:
Peter Dimov
2020-03-07 20:43:55 +02:00
parent b969e4ac27
commit 06dff85cc2

View File

@@ -94,7 +94,8 @@ test_script:
- if "%UBP%" == "" SET UBP=0
- if "%STAGE%" == "" SET CMAKE_INSTALL=-DCMAKE_INSTALL_PREFIX=C:\projects\.local
- if NOT "%STAGE%" == "" SET CMAKE_INSTALL=-DUSE_STAGED_BOOST=1
- cmake -DUSE_BOOST_PACKAGE=%UBP% -DBoost_VERBOSE=ON %CMAKE_INSTALL% ..
- if NOT "%USE_PYTHON_VERSION%" == "" SET USE_PYTHON_VERSION=-DUSE_PYTHON_VERSION=%USE_PYTHON_VERSION%
- cmake -DUSE_BOOST_PACKAGE=%UBP% -DBoost_VERBOSE=ON %USE_PYTHON_VERSION% %CMAKE_INSTALL% ..
- PATH %PATH%;C:\projects\.local\lib
- cmake --build . --config Debug && cmake --build . --config Debug --target check
- cmake --build . --config Release && cmake --build . --config Release --target check