From c0c5c016c3aea39c805190c272e805f9fe318c5b Mon Sep 17 00:00:00 2001 From: "Kevin M. Godby" Date: Thu, 25 Feb 2016 13:09:33 -0600 Subject: [PATCH] Added -I copmiler flag to find spdlog headers for Travis CI and tests/Makefile. --- .travis.yml | 2 +- tests/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3557a2f9..6364b6a2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -84,7 +84,7 @@ install: - sed -i 's/march=native/msse4.2/' example/Makefile - if [ ! -d build ]; then mkdir build; fi - - export CXX_FLAGS="" + - export CXX_FLAGS="-I${CHECKOUT_PATH}/include" - export CXX_LINKER_FLAGS="" - if [ -z "$BUILD_TYPE" ]; then export BUILD_TYPE=Release; fi - if [ "$ASAN" == "On"]; then export CXX_FLAGS="${CXX_FLAGS} -fsanitize=address,undefined,integer -fno-omit-frame-pointer -fno-sanitize=unsigned-integer-overflow"; fi diff --git a/tests/Makefile b/tests/Makefile index 5be7be50..0eec3271 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -1,5 +1,5 @@ CXX ?= g++ -CXXFLAGS = -Wall -pedantic -std=c++11 -pthread -O2 +CXXFLAGS = -Wall -pedantic -std=c++11 -pthread -O2 -I../include LDPFALGS = -pthread CPP_FILES := $(wildcard *.cpp)