cmake: fix ninja/msvc builds
If you don't set this policy, then cmake doesn't even try to select a runtime library
This commit is contained in:
parent
0909e00117
commit
89fda54820
|
@ -16,6 +16,9 @@ set(CMAKE_OSX_DEPLOYMENT_TARGET "10.14.0" CACHE STRING "")
|
|||
|
||||
set(CMAKE_USER_MAKE_RULES_OVERRIDE "CMake/FlagsOverride.cmake")
|
||||
|
||||
# Required for cmake to select the correct runtime library in MSVC builds.
|
||||
cmake_policy(SET CMP0091 NEW)
|
||||
|
||||
project(dolphin-emu)
|
||||
|
||||
# Name of the Dolphin distributor. If you redistribute Dolphin builds (forks,
|
||||
|
|
Loading…
Reference in New Issue