mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-19 05:33:02 +00:00
CI: make cmakelint happy
This commit is contained in:
parent
6fc04b34f2
commit
fc695cb6f6
@ -10,7 +10,7 @@ endif()
|
|||||||
set(__INCLUDED_XCODE_DELETE_DUPLICATES_CMAKE TRUE)
|
set(__INCLUDED_XCODE_DELETE_DUPLICATES_CMAKE TRUE)
|
||||||
|
|
||||||
function(xcode_delete_duplicates target)
|
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")
|
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
|
# 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
|
# `-warn_duplicate_libraries` is now enabled by default which may result
|
||||||
|
@ -10,7 +10,7 @@ endif()
|
|||||||
set(__INCLUDED_XCODE_DELETE_DUPLICATES_CMAKE TRUE)
|
set(__INCLUDED_XCODE_DELETE_DUPLICATES_CMAKE TRUE)
|
||||||
|
|
||||||
function(xcode_delete_duplicates target)
|
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")
|
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
|
# 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
|
# `-warn_duplicate_libraries` is now enabled by default which may result
|
||||||
|
Loading…
Reference in New Issue
Block a user