Add -DBOOST_INCLUDE_LIBRARIES=assert, otherwise test dependencies for Core are required

This commit is contained in:
Peter Dimov
2020-01-06 17:09:14 +02:00
parent 19329d3335
commit 3c84f4c301
2 changed files with 2 additions and 2 deletions

View File

@ -289,7 +289,7 @@ matrix:
env: CMAKE=1
script:
- mkdir __build__ && cd __build__
- cmake -DBOOST_ENABLE_CMAKE=1 -DBoost_VERBOSE=1 ..
- cmake -DBOOST_ENABLE_CMAKE=1 -DBoost_VERBOSE=1 -DBOOST_INCLUDE_LIBRARIES=assert ..
- ctest --output-on-failure -R boost_assert
- os: linux

View File

@ -57,7 +57,7 @@ test_script:
- if "%CMAKE%%CMAKE_SUBDIR%%CMAKE_INSTALL%" == "" b2 -j 3 libs/assert/test toolset=%TOOLSET% %CXXSTD%
- if not "%CMAKE%" == "" mkdir __build__ && cd __build__
- if not "%CMAKE%" == "" cmake -DBOOST_ENABLE_CMAKE=1 -DBoost_VERBOSE=1 ..
- if not "%CMAKE%" == "" cmake -DBOOST_ENABLE_CMAKE=1 -DBoost_VERBOSE=1 -DBOOST_INCLUDE_LIBRARIES=assert ..
- if not "%CMAKE%" == "" ctest --output-on-failure -R boost_assert -C Debug
- if not "%CMAKE%" == "" ctest --output-on-failure -R boost_assert -C Release
- if not "%CMAKE%" == "" ctest --output-on-failure -R boost_assert -C MinSizeRel