summaryrefslogtreecommitdiffstats
path: root/Tests/IncludeDirectories/CMakeLists.txt
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2011-06-03 17:00:05 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2011-06-03 17:00:05 (GMT)
commit6d29b4bfe6cffae306f0d74f1cbd3696db56d98b (patch)
tree74c09e07d0c53b73e0095df4e3352cfd43c8f31b /Tests/IncludeDirectories/CMakeLists.txt
parent7815e90e21049cb06ecbdbe8ed44aa008aa9d6f4 (diff)
downloadCMake-6d29b4bfe6cffae306f0d74f1cbd3696db56d98b.zip
CMake-6d29b4bfe6cffae306f0d74f1cbd3696db56d98b.tar.gz
CMake-6d29b4bfe6cffae306f0d74f1cbd3696db56d98b.tar.bz2
Append and do not clobber CMAKE_CXX_FLAGS in the test.
Diffstat (limited to 'Tests/IncludeDirectories/CMakeLists.txt')
-rw-r--r--Tests/IncludeDirectories/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/IncludeDirectories/CMakeLists.txt b/Tests/IncludeDirectories/CMakeLists.txt
index af2a2b7..8bc0f6c 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\"")