From: Konstantinos Margaritis Date: Sun, 19 Nov 2023 08:24:13 +0000 (+0200) Subject: Don't build fat runtime with native CPU detection X-Git-Tag: vectorscan/5.4.11~1^2^2~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35acf49d5f0aa8527fb8d4a67d4ba5946a5db6f5;p=thirdparty%2Fvectorscan.git Don't build fat runtime with native CPU detection --- diff --git a/cmake/osdetection.cmake b/cmake/osdetection.cmake index f96a42f3..235487a9 100644 --- a/cmake/osdetection.cmake +++ b/cmake/osdetection.cmake @@ -11,7 +11,11 @@ message("Checking Fat Runtime Requirements...") if (FAT_RUNTIME AND NOT LINUX) message(FATAL_ERROR "Fat runtime is only supported on Linux OS") endif() - + +if (USE_CPU_NATIVE AND FAT_RUNTIME) + message(FATAL_ERROR "Fat runtime is not compatible with Native CPU detection") +endif() + if (FAT_RUNTIME AND LINUX) if (NOT (ARCH_IA32 OR ARCH_X86_64 OR ARCH_AARCH64)) message(FATAL_ERROR "Fat runtime is only supported on Intel and Aarch64 architectures")