CI: make cmakelint happy

This commit is contained in:
Carles Fernandez 2024-04-12 19:51:37 +02:00
parent 6fc04b34f2
commit fc695cb6f6
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ endif()
set(__INCLUDED_XCODE_DELETE_DUPLICATES_CMAKE TRUE)
function(xcode_delete_duplicates target)
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "AppleClang")
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "AppleClang")
if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL "15.0.0")
# A bug in Xcode 15 adds duplicate flags to the linker. In addition, the
# `-warn_duplicate_libraries` is now enabled by default which may result

View File

@ -10,7 +10,7 @@ endif()
set(__INCLUDED_XCODE_DELETE_DUPLICATES_CMAKE TRUE)
function(xcode_delete_duplicates target)
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "AppleClang")
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "AppleClang")
if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL "15.0.0")
# A bug in Xcode 15 adds duplicate flags to the linker. In addition, the
# `-warn_duplicate_libraries` is now enabled by default which may result