UE/UF: user static CRT by default for Windows builds

This commit is contained in:
Nikolaj Schlej 2020-11-07 17:57:13 -08:00
parent 7bce6fac92
commit d69aca6554
2 changed files with 8 additions and 2 deletions

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.0)
CMAKE_MINIMUM_REQUIRED(VERSION 3.15)
PROJECT(UEFIExtract)
@ -88,3 +88,6 @@ SET(PROJECT_HEADERS
ADD_DEFINITIONS(-DU_ENABLE_NVRAM_PARSING_SUPPORT -DU_ENABLE_ME_PARSING_SUPPORT -DU_ENABLE_FIT_PARSING_SUPPORT -DU_ENABLE_GUID_DATABASE_SUPPORT)
ADD_EXECUTABLE(UEFIExtract ${PROJECT_SOURCES} ${PROJECT_HEADERS})
SET_PROPERTY(TARGET UEFIExtract PROPERTY
MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.0)
CMAKE_MINIMUM_REQUIRED(VERSION 3.15)
PROJECT(UEFIFind)
@ -87,3 +87,6 @@ SET(PROJECT_HEADERS
ADD_DEFINITIONS(-DU_ENABLE_NVRAM_PARSING_SUPPORT -DU_ENABLE_FIT_PARSING_SUPPORT -DU_ENABLE_GUID_DATABASE_SUPPORT)
ADD_EXECUTABLE(UEFIFind ${PROJECT_SOURCES} ${PROJECT_HEADERS})
SET_PROPERTY(TARGET UEFIFind PROPERTY
MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")