]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Don't explicitly enable neon flag on MSVC ARM64 builds.
authorNathan Moinvaziri <nathan@nathanm.com>
Sat, 2 May 2020 18:06:03 +0000 (11:06 -0700)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Wed, 24 Jun 2020 09:42:44 +0000 (11:42 +0200)
CMakeLists.txt

index b759d9add364c7872dff156cf908677fb53a58c4..16a94364c07d8e4ee3509736f4eb721a881ce677 100644 (file)
@@ -170,7 +170,9 @@ elseif(MSVC)
     set(WARNFLAGS_DISABLE "")
     if(BASEARCH_ARM_FOUND)
         add_definitions(-D_ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE)
-        set(NEONFLAG "/arch:VFPv4")
+        if(NOT ${ARCH} MATCHES "aarch64")
+            set(NEONFLAG "/arch:VFPv4")
+        endif()
     elseif(BASEARCH_X86_FOUND)
         if(NOT ${ARCH} MATCHES "x86_64")
             set(SSE2FLAG "/arch:SSE2")