]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
build: Use Windows BLAKE3 implementation on MSYS2
authorJoel Rosdahl <joel@rosdahl.net>
Sun, 17 Mar 2024 11:41:06 +0000 (12:41 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Sun, 17 Mar 2024 13:56:58 +0000 (14:56 +0100)
Related to issue #1415.

src/third_party/blake3/CMakeLists.txt

index 1e30eb3cfe1200076cc2e901e3fed483ba4c7d04..d2da244ff1a038166f650a4d5674eb1458450b0c 100644 (file)
@@ -19,7 +19,7 @@ function(add_source_if_enabled feature msvc_flags others_flags intrinsic)
 
   if(MSVC)
     set(suffix "_x86-64_windows_msvc.asm")
-  elseif(WIN32)
+  elseif(WIN32 OR CYGWIN)
     set(suffix "_x86-64_windows_gnu.S")
   else()
     set(suffix "_x86-64_unix.S")