Pass compiler flags for Clang
This commit is contained in:
parent
5a455db8e2
commit
33b4b61c95
1 changed files with 7 additions and 0 deletions
|
@ -44,6 +44,13 @@ if (MSVC)
|
|||
endif()
|
||||
endif ()
|
||||
|
||||
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -pedantic")
|
||||
|
||||
# Pass CXX flags to flags.
|
||||
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DSEQAN_CXX_FLAGS_=\"${CMAKE_CXX_FLAGS}\"")
|
||||
endif()
|
||||
|
||||
subdirs(src conf man files)
|
||||
if(WITH_LUA)
|
||||
add_subdirectory(lua)
|
||||
|
|
Loading…
Reference in a new issue