Updated travis build config

It sets the path to the date library correctly now.
This commit is contained in:
Christian Dávid
2016-05-05 10:15:26 +02:00
parent 7097d4a325
commit bcc3eea988

View File

@@ -48,7 +48,7 @@ before_script:
- mkdir build
- cd build
- if [[ "$CXX" = "g++" && "$CONFIG" = "Debug" && "$TRAVIS_OS_NAME" = "linux" ]]; then export CXXFLAGS="--coverage"; fi
- cmake .. -DCMAKE_BUILD_TYPE=$CONFIG -DDATE_INCLUDE_DIR=$PWD/../date
- cmake .. -DCMAKE_BUILD_TYPE=$CONFIG -DCMAKE_PREFIX_PATH=$PWD/../date
script:
- cmake --build . --config $CONFIG