1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-13 19:50:34 +00:00

Fix for volk 2.4

This commit is contained in:
Carles Fernandez 2022-04-04 01:45:20 +02:00
parent 7f0a7b1e77
commit a9f979867d
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -1236,7 +1236,7 @@ if(NOT VOLKGNSSSDR_FOUND)
set_package_properties(CPUFEATURES PROPERTIES set_package_properties(CPUFEATURES PROPERTIES
DESCRIPTION "A cross platform C99 library to get CPU features at runtime" DESCRIPTION "A cross platform C99 library to get CPU features at runtime"
) )
if(VOLK_VERSION AND VOLK_VERSION VERSION_GREATER 2.4 AND VOLK_VERSION VERSION_LESS "2.5.2") # detect "hidden" cpu_features 0.6.0 if(VOLK_VERSION AND VOLK_VERSION VERSION_GREATER "2.3" AND VOLK_VERSION VERSION_LESS "2.5.2") # detect "hidden" cpu_features 0.6.0
set(ENABLE_CPUFEATURES OFF) set(ENABLE_CPUFEATURES OFF)
else() else()
set_package_properties(CPUFEATURES PROPERTIES set_package_properties(CPUFEATURES PROPERTIES