mirror of
https://github.com/vgough/encfs.git
synced 2024-11-21 23:43:26 +01:00
add c++11 flag default for clang
This commit is contained in:
parent
343ef4645b
commit
4c8a97825c
@ -28,6 +28,9 @@ else ()
|
||||
if (CMAKE_COMPILER_IS_GNUCXX)
|
||||
message ("** Assuming that GNU CXX uses -std=c++11 flag for C++11 compatibility.")
|
||||
list(APPEND CMAKE_CXX_FLAGS "-std=c++11")
|
||||
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||
message ("** Assuming that Clang uses -std=c++11 flag for C++11 compatibility.")
|
||||
list(APPEND CMAKE_CXX_FLAGS "-std=c++11")
|
||||
else()
|
||||
message ("** No CMAKE C++11 check. If the build breaks, you're on your own.")
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user