Features: Blacklist cxx_constexpr test for GNU 4.5.
This commit is contained in:
parent
c66e331749
commit
1ae2c6b2c9
|
@ -51,6 +51,14 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang"
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU"
|
||||||
|
AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.6)
|
||||||
|
# The cxx_constexpr feature happens to work (for *this* testcase) with
|
||||||
|
# GNU 4.5, but it is first documented as available with GNU 4.6.
|
||||||
|
list(REMOVE_ITEM CXX_non_features
|
||||||
|
cxx_constexpr
|
||||||
|
)
|
||||||
|
endif()
|
||||||
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU"
|
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU"
|
||||||
AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.8)
|
AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.8)
|
||||||
# The cxx_alignof feature happens to work (for *this* testcase) with
|
# The cxx_alignof feature happens to work (for *this* testcase) with
|
||||||
|
|
Loading…
Reference in New Issue