]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Add a compile option to explicitely disable assembly 2957/head
authorMark Harfouche <mark.harfouche@gmail.com>
Thu, 6 Jan 2022 01:36:51 +0000 (20:36 -0500)
committerMark Harfouche <mark.harfouche@gmail.com>
Thu, 6 Jan 2022 01:38:00 +0000 (20:38 -0500)
build/cmake/lib/CMakeLists.txt

index 612f667f9c0b03d4d9526178d3ab8d6a5c4186bd..4905bd9133896230069280b7675a11082611bd0f 100644 (file)
@@ -24,6 +24,7 @@ file(GLOB CommonSources ${LIBRARY_DIR}/common/*.c)
 file(GLOB CompressSources ${LIBRARY_DIR}/compress/*.c)
 if (MSVC)
     file(GLOB DecompressSources ${LIBRARY_DIR}/decompress/*.c)
+    add_compile_options(-DZSTD_DISABLE_ASM)
 else ()
     file(GLOB DecompressSources ${LIBRARY_DIR}/decompress/*.c ${LIBRARY_DIR}/decompress/*.S)
 endif ()