From f25e38eb8b7329a581531cd542b68af0229fe7a3 Mon Sep 17 00:00:00 2001 From: Patrick Flick Date: Mon, 1 Aug 2016 18:36:55 -0700 Subject: [PATCH] fixing travis build --- CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a64bb4a..442610b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -68,7 +68,7 @@ if(ENABLE_COVERAGE) # with a stack procetor into a partially covered statement. # # additionally: disable inlining for more precise coverage - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --coverage -fno-stack-protector --fno-inline --fno-inline-small-functions -fno-default-inline") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --coverage -fno-stack-protector -fno-inline -fno-inline-small-functions -fno-default-inline") endif(ENABLE_COVERAGE) ### Fake BIG MPI for testing of BigMPI functions on travis or other small RAM @@ -89,5 +89,6 @@ include_directories("${PROJECT_SOURCE_DIR}") # build tests add_subdirectory(gtest) add_subdirectory(test) - +if (NOT TRAVIS) add_subdirectory(src) +endif (NOT TRAVIS)