mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-06-03 13:15:17 -06:00
Use /MP switch for MSVC and not clang-cl
This commit is contained in:
parent
6f420afc18
commit
65cc853079
@ -85,8 +85,9 @@ if(CMAKE_BUILD_TYPE MATCHES "Debug" AND NOT MSVC)
|
|||||||
add_compile_definitions(_DEBUG)
|
add_compile_definitions(_DEBUG)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(MSVC)
|
if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
|
||||||
add_compile_options("$<$<COMPILE_LANGUAGE:C,CXX>:/MP>")
|
add_compile_options("$<$<COMPILE_LANGUAGE:C,CXX>:/MP>")
|
||||||
|
add_link_options("/ENTRY:mainCRTStartup")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(NOT CMAKE_SIZEOF_VOID_P EQUAL 8)
|
if(NOT CMAKE_SIZEOF_VOID_P EQUAL 8)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user