From d7e2f82dabebc06bd17efa3736fff5d342f0f028 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Tue, 27 Oct 2020 09:13:49 +0100 Subject: [PATCH] Fix for s390x arch, since cpu_features does not support it --- .../libs/volk_gnsssdr_module/volk_gnsssdr/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/CMakeLists.txt b/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/CMakeLists.txt index 7efcab86c..41e608c4d 100644 --- a/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/CMakeLists.txt +++ b/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/CMakeLists.txt @@ -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