]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Remove CMake warning about MSVC Chorba bug
authorNathan Moin Vaziri <nathan@nathanm.com>
Sat, 18 Apr 2026 20:52:57 +0000 (13:52 -0700)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Wed, 22 Apr 2026 09:40:20 +0000 (11:40 +0200)
The Chorba bug on SSE2/SSE41 has been fixed so this no longer applies.

CMakeLists.txt

index ffd3c5bac46cd819d324b5e5201660f8002b3a54..c3d1704d23ef937ca049d9f080e54debd1bbb75e 100644 (file)
@@ -250,10 +250,6 @@ elseif(MSVC)
     if(MSVC_VERSION VERSION_LESS 1800)
         message(SEND_ERROR "Unsupported Visual Studio compiler version (requires 2013 or later).")
     endif()
-    if(MSVC_VERSION VERSION_LESS 1930)
-        message(STATUS "Old Visual Studio compiler version, disabling SSE2/SSE4.1 Chorba variants (requires 2022 or later).")
-        add_definitions(-DWITHOUT_CHORBA_SSE)
-    endif()
     # TODO. ICC can be used through MSVC. I'm not sure if we'd ever see that combination
     # (who'd use cmake from an IDE...) but checking for ICC before checking for MSVC should
     # avoid mistakes.