1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-11-05 17:55:06 +00:00

Fix building in some macOS configurations

This commit is contained in:
Carles Fernandez
2019-05-16 20:49:10 +02:00
parent ab1634b565
commit a1f77607c3
5 changed files with 5 additions and 5 deletions

View File

@@ -77,7 +77,7 @@ if(ENABLE_RAW_UDP AND PCAP_FOUND)
endif()
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
PUBLIC
-DBOOST_ASIO_HAS_STD_STRING_VIEW