1
0
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:
Carles Fernandez 2020-08-22 12:43:02 +02:00
parent 8054f3bbe9
commit c6aec7a105
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -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)