Browse Source

Standard libraries of the ci builds updated.

main
offa 5 years ago
parent
commit
69a6726f65
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      script/ci_build.sh

+ 4
- 1
script/ci_build.sh View File

if [[ "${CXX}" == clang* ]] if [[ "${CXX}" == clang* ]]
then then
export CXXFLAGS="-stdlib=libc++" export CXXFLAGS="-stdlib=libc++"
CONAN_STDLIB=libc++
else
CONAN_STDLIB=libstdc++11
fi fi


mkdir build && cd build mkdir build && cd build
conan install --build missing -s compiler.libcxx=libstdc++11 ..
conan install --build missing -s compiler.libcxx=${CONAN_STDLIB} ..


cmake .. cmake ..
make make

Loading…
Cancel
Save