Skip to content

Commit

Permalink
fix(*): fix some bugs
Browse files Browse the repository at this point in the history
please refer to file change history for details
  • Loading branch information
CLimber-Rong committed Jun 24, 2024
1 parent d0f77be commit 8552d55
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang")

set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -march=native")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -march=native")

else()

set(CMAKE_C_FLAGS "/std:c17")
set(CMAKE_CXX_FLAGS "/std:c++17")
endif()

add_executable(stamon src/Main.cpp)
Expand Down

0 comments on commit 8552d55

Please sign in to comment.