From 9a6b617b575fe6c56e22d98892b63c98a2b3a3fc Mon Sep 17 00:00:00 2001 From: noodlesbad Date: Mon, 5 Sep 2022 10:54:42 +0200 Subject: [PATCH] adding asm disable macro --- native/cmake/CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/native/cmake/CMakeLists.txt b/native/cmake/CMakeLists.txt index 13d7ec6..7d322e4 100644 --- a/native/cmake/CMakeLists.txt +++ b/native/cmake/CMakeLists.txt @@ -44,9 +44,8 @@ IF (MSVC) add_definitions("/wd4711") ENDIF() -if (MSVC OR APPLE) - add_compile_options(-DZSTD_DISABLE_ASM) -endif(MSVC OR APPLE) +#ASM disable +add_compile_options(-DZSTD_DISABLE_ASM) set(LZ4_DIR ../lz4/) set(ZSTD_DIR ../zstd/)