From 8548d5885b8f625c9029179dbcf949b2c9d90088 Mon Sep 17 00:00:00 2001 From: kimwalisch Date: Tue, 12 Mar 2024 08:54:56 +0100 Subject: [PATCH] Only run check on Apple OSes --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e80a2a51..71f5dbb3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,7 +33,7 @@ set(DEFAULT_LIBDIVIDE ON) # division instructions. For Apple Silicon CPUs on Apple OSes # we disable libdivide to get the best performance. -if(NOT WITH_LIBDIVIDE) +if(APPLE) include("${PROJECT_SOURCE_DIR}/cmake/Apple_ARM64.cmake") if(Apple_ARM64) set(DEFAULT_LIBDIVIDE OFF)