Add -mavx
This commit is contained in:
@@ -30,6 +30,10 @@ add_compile_options(
|
||||
-ffunction-sections
|
||||
-fno-omit-frame-pointer)
|
||||
|
||||
if(CMAKE_SYSTEM_PROCESSOR STREQUAL x86_64)
|
||||
add_compile_options(-mavx)
|
||||
endif()
|
||||
|
||||
add_subdirectory(third_party)
|
||||
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/")
|
||||
|
||||
Reference in New Issue
Block a user