Skip to content

Commit

Permalink
Fix 'ignoring unknown parameter /MP' warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kin4stat committed Nov 22, 2024
1 parent f36fa12 commit 2a7b248
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ endif()
file(GLOB_RECURSE PROJECT_SOURCE_FILES "src/*.h" "src/*.cpp")
file(GLOB_RECURSE CAPI_FILES "../c-api/*.h" "../c-api/*.cpp")

if(WIN32 AND (MSVC OR CMAKE_CXX_COMPILER_ID MATCHES "Clang"))
if(MSVC AND NOT (CMAKE_CXX_COMPILER_ID MATCHES "Clang"))
add_definitions(/MP)
endif()

Expand Down

0 comments on commit 2a7b248

Please sign in to comment.