Verify in cmake if it possible to compile with C++yy standard

This commit is contained in:
Joerg-Christian Boehme
2017-11-04 02:29:06 +01:00
parent 9fd471dc93
commit c6e1a0137b
3 changed files with 33 additions and 11 deletions

View File

@@ -70,11 +70,6 @@ else()
endif()
endif()
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
endif()
if(NOT MSVC_IDE)
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING