mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[cmake] use CMAKE_MSVC_RUNTIME_LIBRARY
* Increase required CMake version to 3.15 (windows only) * Use https://cmake.org/cmake/help/latest/prop_tgt/MSVC_RUNTIME_LIBRARY.html#prop_tgt:MSVC_RUNTIME_LIBRARY to select windows runtime
This commit is contained in:
committed by
Martin Fleisz
parent
bd2ac8b11f
commit
e0e72f9c28
@@ -1,7 +1,6 @@
|
||||
message("PRELOADING windows cache")
|
||||
set (CMAKE_WINDOWS_VERSION "WIN7" CACHE STRING "windows build version")
|
||||
set (BUILD_SHARED_LIBS OFF CACHE BOOL "build static linked executable")
|
||||
set (MSVC_RUNTIME "static" CACHE STRING "link MSVC runtime static")
|
||||
set (CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded" CACHE STRING "MSVC runtime to use")
|
||||
set (OPENSSL_USE_STATIC_LIBS ON CACHE BOOL "link OpenSSL static")
|
||||
set (CHANNEL_URBDRC OFF CACHE BOOL "we do not build libusb support")
|
||||
|
||||
Reference in New Issue
Block a user