From 6d29b4bfe6cffae306f0d74f1cbd3696db56d98b Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Fri, 3 Jun 2011 13:00:05 -0400 Subject: [PATCH] Append and do not clobber CMAKE_CXX_FLAGS in the test. --- Tests/IncludeDirectories/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/IncludeDirectories/CMakeLists.txt b/Tests/IncludeDirectories/CMakeLists.txt index af2a2b7869..8bc0f6c4c7 100644 --- a/Tests/IncludeDirectories/CMakeLists.txt +++ b/Tests/IncludeDirectories/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required (VERSION 2.6) project(IncludeDirectories) -set(CMAKE_CXX_FLAGS "\"-I${CMAKE_SOURCE_DIR}/Flags\"") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} \"-I${CMAKE_SOURCE_DIR}/Flags\"") include_directories(${CMAKE_SOURCE_DIR}/IncDir) set_source_files_properties(main.cpp PROPERTIES COMPILE_FLAGS "\"-I${CMAKE_SOURCE_DIR}/SrcProp\"")