mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-30 19:04:51 +00:00
Fix ENABLE_OWN_ABSEIL when using clang
This commit is contained in:
parent
56692ca75b
commit
4ac58ccb00
@ -1523,7 +1523,7 @@ if(NOT CMAKE_VERSION VERSION_LESS 3.24
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Workaround for Clang 18+
|
# Workaround for Clang 18+
|
||||||
if(absl_FOUND)
|
if(absl_FOUND AND NOT ENABLE_OWN_ABSEIL)
|
||||||
if((CMAKE_CXX_COMPILER_ID STREQUAL "Clang") AND NOT (CMAKE_CXX_COMPILER_VERSION VERSION_LESS "17.99"))
|
if((CMAKE_CXX_COMPILER_ID STREQUAL "Clang") AND NOT (CMAKE_CXX_COMPILER_VERSION VERSION_LESS "17.99"))
|
||||||
add_compile_options(-fclang-abi-compat=17)
|
add_compile_options(-fclang-abi-compat=17)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user