aboutsummaryrefslogtreecommitdiff
path: root/c
diff options
context:
space:
mode:
authorMaksim Bondarenkov <[email protected]>2025-03-15 10:46:52 +0300
committerHenrik Gaßmann <[email protected]>2025-03-15 11:50:41 +0100
commitd219a4d3864f5c51d36bda9fe9ac253bcfa064f4 (patch)
tree52c8f64966b9dba8620189465ae7ae9aff9f15f7 /c
parentf0bc76e4896aa83bec4dee78489ed77c6f67f1c5 (diff)
[C library] use Windows asm for cygwin
in cygwin falling to Unix asm make build fails with it
Diffstat (limited to 'c')
-rw-r--r--c/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/CMakeLists.txt b/c/CMakeLists.txt
index 8a15d34..1a00506 100644
--- a/c/CMakeLists.txt
+++ b/c/CMakeLists.txt
@@ -53,7 +53,7 @@ elseif(CMAKE_C_COMPILER_ID STREQUAL "GNU"
set(BLAKE3_CFLAGS_AVX2 "-mavx2" CACHE STRING "the compiler flags to enable AVX2")
set(BLAKE3_CFLAGS_AVX512 "-mavx512f -mavx512vl" CACHE STRING "the compiler flags to enable AVX512")
- if (WIN32)
+ if (WIN32 OR CYGWIN)
set(BLAKE3_AMD64_ASM_SOURCES
blake3_avx2_x86-64_windows_gnu.S
blake3_avx512_x86-64_windows_gnu.S