1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-01-31 03:14:56 +00:00

Fix building with XCode

This commit is contained in:
Carles Fernandez 2022-04-05 11:58:24 +02:00
parent d1d5120974
commit d4b2e900cc
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -549,6 +549,10 @@ if(NOT (CMAKE_GENERATOR STREQUAL Xcode))
if(NOT MSVC)
set_target_properties(volk_gnsssdr_obj PROPERTIES COMPILE_FLAGS "-fPIC")
endif()
else()
if(USE_CPU_FEATURES)
set_source_files_properties(volk_gnsssdr_cpu.c PROPERTIES COMPILE_DEFINITIONS "VOLK_CPU_FEATURES=1")
endif()
endif()
# Add dynamic library