mirror of
https://github.com/facebook/zstd.git
synced 2025-11-27 00:05:09 -05:00
Add a compile option to explicitely disable assembly
This commit is contained in:
parent
148ff15774
commit
df5ad5a0f1
@ -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 ()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user