mirror of
https://github.com/curl/curl.git
synced 2026-04-14 21:31:42 +03:00
cmake: drop redundant condition
Follow-up to 43397b0283 #21015
Cherry-picked from #21000
This commit is contained in:
parent
6e9df9f111
commit
e078485b36
1 changed files with 1 additions and 1 deletions
|
|
@ -430,7 +430,7 @@ if(CMAKE_C_COMPILER_ID STREQUAL "Clang" AND MSVC)
|
|||
endforeach()
|
||||
endif()
|
||||
|
||||
if(CMAKE_C_STANDARD STREQUAL 90 AND CMAKE_C_COMPILER_ID MATCHES "Clang")
|
||||
if(CMAKE_C_STANDARD STREQUAL 90)
|
||||
if((CMAKE_C_COMPILER_ID STREQUAL "Clang" AND CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL 3.0) OR
|
||||
(CMAKE_C_COMPILER_ID STREQUAL "AppleClang" AND CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL 4.2))
|
||||
list(APPEND _picky "-Wno-c99-extensions") # Avoid: warning: '_Bool' is a C99 extension
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue