Merge topic 'GNU-4.4-compile-features'
374a66b5
Features: Blacklist raw string literals test for GNU 4.4
This commit is contained in:
commit
9f559a2608
|
@ -62,6 +62,14 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL SunPro)
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU"
|
||||||
|
AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.5)
|
||||||
|
# The cxx_raw_string_literals feature happens to work in some distributions
|
||||||
|
# of GNU 4.4, but it is first documented as available with GNU 4.5.
|
||||||
|
list(REMOVE_ITEM CXX_non_features
|
||||||
|
cxx_raw_string_literals
|
||||||
|
)
|
||||||
|
endif()
|
||||||
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU"
|
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU"
|
||||||
AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.6)
|
AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.6)
|
||||||
# The cxx_constexpr feature happens to work (for *this* testcase) with
|
# The cxx_constexpr feature happens to work (for *this* testcase) with
|
||||||
|
|
Loading…
Reference in New Issue