mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-02-07 06:30:11 +00:00
Fix building with XCode
This commit is contained in:
parent
d1d5120974
commit
d4b2e900cc
@ -549,6 +549,10 @@ if(NOT (CMAKE_GENERATOR STREQUAL Xcode))
|
|||||||
if(NOT MSVC)
|
if(NOT MSVC)
|
||||||
set_target_properties(volk_gnsssdr_obj PROPERTIES COMPILE_FLAGS "-fPIC")
|
set_target_properties(volk_gnsssdr_obj PROPERTIES COMPILE_FLAGS "-fPIC")
|
||||||
endif()
|
endif()
|
||||||
|
else()
|
||||||
|
if(USE_CPU_FEATURES)
|
||||||
|
set_source_files_properties(volk_gnsssdr_cpu.c PROPERTIES COMPILE_DEFINITIONS "VOLK_CPU_FEATURES=1")
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Add dynamic library
|
# Add dynamic library
|
||||||
|
Loading…
x
Reference in New Issue
Block a user