Append and do not clobber CMAKE_CXX_FLAGS in the test.

This commit is contained in:
Bill Hoffman 2011-06-03 13:00:05 -04:00
parent 7815e90e21
commit 6d29b4bfe6
1 changed files with 1 additions and 1 deletions

View File

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