Define imported targets manually, if not provided by find_package(Boost).

This commit is contained in:
Daniel Kirchner
2019-06-06 21:03:33 +02:00
parent 2ec45797b2
commit cb9c35f883
3 changed files with 11 additions and 4 deletions
@@ -64,7 +64,7 @@ fi
# Boost
echo -en 'travis_fold:start:compiling_boost\\r'
test -e "$WORKSPACE"/boost_1_70_0_install || (
test -e "$WORKSPACE"/boost_1_70_0_install/include/boost/version.hpp || (
cd "$WORKSPACE"/boost_1_70_0
./b2 toolset=emscripten link=static variant=release threading=single runtime-link=static \
--with-system --with-regex --with-filesystem --with-test --with-program_options cxxflags="-Wno-unused-local-typedef -Wno-variadic-macros -Wno-c99-extensions -Wno-all" \