|
|
@ -10,8 +10,10 @@ if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU") |
|
|
|
endif () |
|
|
|
elseif ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang") |
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++") |
|
|
|
elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") |
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++") |
|
|
|
else () |
|
|
|
message(FATAL_ERROR "Your C++ compiler does not support C++11.") |
|
|
|
message(FATAL_ERROR "Your C++ compiler does not support C++11. You have ${CMAKE_CXX_COMPILER_ID}") |
|
|
|
endif () |
|
|
|
|
|
|
|
|
|
|
|