From b3dcd964fedc087717a722c02982f61f06b54c4f Mon Sep 17 00:00:00 2001 From: Alex Groce Date: Wed, 11 Jul 2018 20:01:24 -0700 Subject: [PATCH] compile with no-avx --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7aa429a..7b76e2e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -55,7 +55,10 @@ add_library(${PROJECT_NAME}32 STATIC src/lib/Stream.c ) -target_compile_options(${PROJECT_NAME}32 PUBLIC -m32 -g3) +target_compile_options(${PROJECT_NAME} PUBLIC -mno-avx) + +target_compile_options(${PROJECT_NAME}32 PUBLIC -m32 -g3 -mno-avx) + target_include_directories(${PROJECT_NAME} PUBLIC SYSTEM "${CMAKE_SOURCE_DIR}/src/include"