Projects
Kontact:4.13:Development
zanshin
min-version-compilers.patch
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File min-version-compilers.patch of Package zanshin (Revision 12)
Currently displaying revision
12
,
Show latest
diff --git a/CMakeLists.txt b/CMakeLists.txt index 127ecf9..175657f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,25 +7,6 @@ macro_log_feature(KDEPIMLIBS_FOUND "kdepimlibs" "KDE PIM libraries" "The KDE PIM include(KDE4Defaults) -macro(assert_min_ver version) - set(error_msg "${CMAKE_CXX_COMPILER} ${CMAKE_CXX_COMPILER_VERSION} not supported") - if("${CMAKE_CXX_COMPILER_VERSION}" VERSION_LESS "${version}") - message(FATAL_ERROR "${msg}") - endif() -endmacro() - -if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") - # using Clang >= 3.3 - assert_min_ver("3.3") -elseif("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") - # using GCC >= 4.8 - assert_min_ver("4.8") -elseif("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Intel") - # currently Intel compiler does not support all required C++11 features in zanshin - # http://software.intel.com/en-us/articles/c0x-features-supported-by-intel-c-compiler - assert_min_ver("15.0") -endif() - if(UNIX) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x") endif()
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.