Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
vztpv authored Apr 5, 2024
1 parent 1043804 commit f754b07
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 @@ -49,8 +49,8 @@ target_include_directories(${LIB_NAME14} PUBLIC ${INCLUDE_DIR} PRIVATE ${rapidjs


if (UNIX)
target_compile_options(${LIB_NAME} PRIVATE -m64 -std=c++20 -march=native -pthread -Wno-narrowing -Wextra -O2)
target_compile_options(${LIB_NAME14} PRIVATE -m64 -std=c++14 -march=native -pthread -Wno-narrowing -Wextra -O2)
target_compile_options(${LIB_NAME} PRIVATE -m64 -std=c++20 -march=skylake-avx512 -pthread -Wno-narrowing -Wextra -O2)
target_compile_options(${LIB_NAME14} PRIVATE -m64 -std=c++14 -march=skylake-avx512 -pthread -Wno-narrowing -Wextra -O2)

elseif (MSVC)

Expand Down

0 comments on commit f754b07

Please sign in to comment.