cmake, enable multicore compiling with msvc
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user