cmake, enable multicore compiling with msvc
This commit is contained in:
parent
22491740e5
commit
a3451e43ea
|
@ -221,6 +221,7 @@ endif()
|
|||
if (WIN32)
|
||||
target_link_libraries(torrent-rasterbar wsock32 ws2_32)
|
||||
add_definitions(-D_WIN32_WINNT=0x0500)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP") # multicore compilation
|
||||
endif()
|
||||
|
||||
if (encryption)
|
||||
|
|
Loading…
Reference in New Issue