1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-06-13 16:56:52 +00:00

Fix for s390x arch, since cpu_features does not support it

This commit is contained in:
Carles Fernandez 2020-10-27 09:13:49 +01:00
parent 51846d5b80
commit d7e2f82dab
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -228,7 +228,7 @@ endif()
########################################################################
# cpu_features
if(CMAKE_VERSION VERSION_GREATER 3.0)
if(CMAKE_VERSION VERSION_GREATER 3.0 AND NOT (CMAKE_SYSTEM_PROCESSOR STREQUAL "s390x"))
set(BUILD_PIC ON CACHE BOOL
"Build cpu_features with Position Independent Code (PIC)."
FORCE