Skip to content

Commit

Permalink
Add a compile option to explicitely disable assembly
Browse files Browse the repository at this point in the history
  • Loading branch information
hmaarrfk committed Jan 6, 2022
1 parent 148ff15 commit f630a9b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build/cmake/lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 ()
Expand Down

0 comments on commit f630a9b

Please sign in to comment.