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:
parent
51846d5b80
commit
d7e2f82dab
|
@ -228,7 +228,7 @@ endif()
|
||||||
########################################################################
|
########################################################################
|
||||||
|
|
||||||
# cpu_features
|
# 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
|
set(BUILD_PIC ON CACHE BOOL
|
||||||
"Build cpu_features with Position Independent Code (PIC)."
|
"Build cpu_features with Position Independent Code (PIC)."
|
||||||
FORCE
|
FORCE
|
||||||
|
|
Loading…
Reference in New Issue
Block a user