Skip to content

Commit

Permalink
remember to make the right changes...
Browse files Browse the repository at this point in the history
  • Loading branch information
makeclean committed Sep 28, 2024
1 parent af64119 commit 78ebaf6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
"Debug" "Release" "MinSizeRel" "RelWithDebInfo")
endif()

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC -march=native -mavx2")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC -march=native -mavx2")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC -march=native")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC -march=native")

IF(${CMAKE_SYSTEM_PROCESSOR} MATCHES "x86_64") # for desktop
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mavx2")
Expand Down

0 comments on commit 78ebaf6

Please sign in to comment.