Speedup build for Windows (#43)

* Speedup build for Windows

* add space :)
This commit is contained in:
Dimon4eg 2019-04-25 17:41:01 +03:00 committed by Benjamin Sergeant
parent 82b528ee30
commit 52260a63fb

View File

@ -137,6 +137,11 @@ set( IXWEBSOCKET_INCLUDE_DIRS
.
)
if (CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
# Build with Multiple Processes
target_compile_options(ixwebsocket PRIVATE /MP)
endif()
target_include_directories( ixwebsocket PUBLIC ${IXWEBSOCKET_INCLUDE_DIRS} )
set_target_properties(ixwebsocket PROPERTIES PUBLIC_HEADER "${IXWEBSOCKET_HEADERS}")