Skip to content

Commit

Permalink
[compile option] add /MP
Browse files Browse the repository at this point in the history
  • Loading branch information
tomwillow committed Dec 23, 2024
1 parent 99cbe10 commit 6a28ab8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ add_compile_options("$<$<CXX_COMPILER_ID:MSVC>:/utf-8>")
add_compile_options(-WX)

if(MSVC)
add_compile_options(/MP)

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /MT")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MT")

Expand Down

0 comments on commit 6a28ab8

Please # to comment.