Skip to content

Commit

Permalink
Enable multiprocessor build (obsproject#81)
Browse files Browse the repository at this point in the history
* Set the mp flag if MSVC

* Add the fast link flag
  • Loading branch information
RodrigoHolztrattner authored and eddyStreamlabs committed Nov 4, 2019
1 parent 59d9f2c commit 7ddd57e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ if (UNIX AND POLICY CMP0072)
cmake_policy(SET CMP0072 NEW)
endif()

if(MSVC)
add_definitions(/MP)
add_definitions(/debug:fastlink)
endif()

project(obs-studio)

option(BUILD_CAPTIONS "Build captions" FALSE)
Expand Down

0 comments on commit 7ddd57e

Please sign in to comment.