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 17443cd commit 3bbc94d
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 @@ -51,8 +51,8 @@ target_include_directories(${LIB_NAME14} PUBLIC ${INCLUDE_DIR} PRIVATE ${rapidjs


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

elseif (MSVC)

Expand Down

0 comments on commit 3bbc94d

Please sign in to comment.