Added -I copmiler flag to find spdlog headers for Travis CI and tests/Makefile.

This commit is contained in:
Kevin M. Godby 2016-02-25 13:09:33 -06:00
parent 077c3095eb
commit c0c5c016c3
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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)