mirror of
https://github.com/reactos/CMake.git
synced 2024-11-25 04:29:52 +00:00
Features: Suppress c_static_assert test coverage on Intel <= 15
It works on some pre-15.0.2 versions but not others.
This commit is contained in:
parent
fd8e6b1eda
commit
1f8480312e
@ -170,6 +170,15 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "Intel")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if (CMAKE_C_COMPILER_ID STREQUAL "Intel")
|
||||
if (CMAKE_C_COMPILER_VERSION VERSION_LESS 15.0.2)
|
||||
# This works on some pre-15.0.2 versions and not others.
|
||||
list(REMOVE_ITEM C_non_features
|
||||
c_static_assert
|
||||
)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
set(C_ext c)
|
||||
set(C_standard_flag 11)
|
||||
set(CXX_ext cpp)
|
||||
|
Loading…
Reference in New Issue
Block a user