mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-19 05:33:02 +00:00
Fix for CMake < 3.12
This commit is contained in:
parent
8054f3bbe9
commit
c6aec7a105
@ -573,11 +573,10 @@ if(NOT (CMAKE_GENERATOR STREQUAL Xcode))
|
|||||||
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
|
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
)
|
)
|
||||||
if(USE_CPU_FEATURES)
|
if(USE_CPU_FEATURES)
|
||||||
# target_include_directories(volk_gnsssdr_obj
|
target_include_directories(volk_gnsssdr_obj
|
||||||
# PRIVATE
|
PRIVATE
|
||||||
# $<TARGET_PROPERTY:cpu_features,INTERFACE_INCLUDE_DIRECTORIES>
|
$<TARGET_PROPERTY:cpu_features,INTERFACE_INCLUDE_DIRECTORIES>
|
||||||
# )
|
)
|
||||||
target_link_libraries(volk_gnsssdr_obj PRIVATE cpu_features)
|
|
||||||
endif()
|
endif()
|
||||||
# Configure object target properties
|
# Configure object target properties
|
||||||
if(NOT MSVC)
|
if(NOT MSVC)
|
||||||
|
Loading…
Reference in New Issue
Block a user