Commit 6366a099 authored by Gary Lin's avatar Gary Lin

Honor the external C/CXX FLAGS

Signed-off-by: default avatarGary Lin <glin@suse.com>
parent 1c7debd5
...@@ -39,8 +39,8 @@ FOREACH(DIR ${LLVM_INCLUDE_DIRS}) ...@@ -39,8 +39,8 @@ FOREACH(DIR ${LLVM_INCLUDE_DIRS})
include_directories("${DIR}/../tools/clang/include") include_directories("${DIR}/../tools/clang/include")
ENDFOREACH() ENDFOREACH()
set(CMAKE_C_FLAGS "-Wall") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
set(CMAKE_CXX_FLAGS "-std=c++11 -Wall") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall")
endif() endif()
add_subdirectory(examples) add_subdirectory(examples)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment