mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-11-15 14:25:00 +00:00
Fix building in some macOS configurations
This commit is contained in:
parent
ab1634b565
commit
a1f77607c3
@ -95,7 +95,7 @@ if(Boost_VERSION VERSION_GREATER "106599")
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(OS_IS_MACOSX)
|
if(OS_IS_MACOSX)
|
||||||
if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang") # not AppleClang
|
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||||
target_compile_definitions(pvt_libs
|
target_compile_definitions(pvt_libs
|
||||||
PUBLIC
|
PUBLIC
|
||||||
-DBOOST_ASIO_HAS_STD_STRING_VIEW
|
-DBOOST_ASIO_HAS_STD_STRING_VIEW
|
||||||
|
@ -77,7 +77,7 @@ if(ENABLE_RAW_UDP AND PCAP_FOUND)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(OS_IS_MACOSX)
|
if(OS_IS_MACOSX)
|
||||||
if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang") # not AppleClang
|
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||||
target_compile_definitions(signal_source_gr_blocks
|
target_compile_definitions(signal_source_gr_blocks
|
||||||
PUBLIC
|
PUBLIC
|
||||||
-DBOOST_ASIO_HAS_STD_STRING_VIEW
|
-DBOOST_ASIO_HAS_STD_STRING_VIEW
|
||||||
|
@ -101,7 +101,7 @@ if(Boost_VERSION VERSION_GREATER "106599")
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(OS_IS_MACOSX)
|
if(OS_IS_MACOSX)
|
||||||
if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang") # not AppleClang
|
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||||
target_compile_definitions(tracking_libs
|
target_compile_definitions(tracking_libs
|
||||||
PUBLIC
|
PUBLIC
|
||||||
-DBOOST_ASIO_HAS_STD_STRING_VIEW
|
-DBOOST_ASIO_HAS_STD_STRING_VIEW
|
||||||
|
@ -69,7 +69,7 @@ endif()
|
|||||||
|
|
||||||
|
|
||||||
if(OS_IS_MACOSX)
|
if(OS_IS_MACOSX)
|
||||||
if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang") # not AppleClang
|
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||||
target_compile_definitions(core_monitor
|
target_compile_definitions(core_monitor
|
||||||
PUBLIC
|
PUBLIC
|
||||||
-DBOOST_ASIO_HAS_STD_STRING_VIEW
|
-DBOOST_ASIO_HAS_STD_STRING_VIEW
|
||||||
|
@ -163,7 +163,7 @@ target_link_libraries(core_receiver
|
|||||||
)
|
)
|
||||||
|
|
||||||
if(OS_IS_MACOSX)
|
if(OS_IS_MACOSX)
|
||||||
if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang") # not AppleClang
|
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||||
target_compile_definitions(core_receiver
|
target_compile_definitions(core_receiver
|
||||||
PUBLIC
|
PUBLIC
|
||||||
-DBOOST_ASIO_HAS_STD_STRING_VIEW
|
-DBOOST_ASIO_HAS_STD_STRING_VIEW
|
||||||
|
Loading…
Reference in New Issue
Block a user