Skip to content

Commit

Permalink
Only run check on Apple OSes
Browse files Browse the repository at this point in the history
  • Loading branch information
kimwalisch committed Mar 12, 2024
1 parent 3d2c1ce commit 8548d58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8548d58

Please sign in to comment.