From 25c233a7037ff8bfebedb49c7e23beb1dd3b8bf8 Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Wed, 30 May 2018 10:57:29 -0400 Subject: [PATCH] Travis: Choose yaml-cpp build mode --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4dd174c..fb90976 100644 --- a/.travis.yml +++ b/.travis.yml @@ -41,7 +41,7 @@ install: tar xzf yaml-cpp-0.6.2.tar.gz mkdir yaml-cpp-0.6.2-build cd yaml-cpp-0.6.2-build - cmake -DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_INSTALL_PREFIX="$YAML_CPP_DIR" ../yaml-cpp-yaml-cpp-0.6.2 + cmake -DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX="$YAML_CPP_DIR" ../yaml-cpp-yaml-cpp-0.6.2 make -j2 make -j2 install ) @@ -62,7 +62,7 @@ install: tar xzf yaml-cpp-0.6.2.tar.gz mkdir yaml-cpp-0.6.2-build cd yaml-cpp-0.6.2-build - cmake -DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_INSTALL_PREFIX="$YAML_CPP_DIR" ../yaml-cpp-yaml-cpp-0.6.2 + cmake -DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX="$YAML_CPP_DIR" ../yaml-cpp-yaml-cpp-0.6.2 make -j2 make -j2 install )