mirror of
https://github.com/libuv/libuv
synced 2025-03-28 21:13:16 +00:00
build: enable MSVC_RUNTIME_LIBRARY setting (#3624)
This commit is contained in:
parent
06948c6ee5
commit
fb85db1d3e
@ -1,8 +1,12 @@
|
||||
cmake_minimum_required(VERSION 3.4)
|
||||
project(libuv LANGUAGES C)
|
||||
|
||||
cmake_policy(SET CMP0057 NEW) # Enable IN_LIST operator
|
||||
cmake_policy(SET CMP0064 NEW) # Support if (TEST) operator
|
||||
if(POLICY CMP0091)
|
||||
cmake_policy(SET CMP0091 NEW) # Enable MSVC_RUNTIME_LIBRARY setting
|
||||
endif()
|
||||
|
||||
project(libuv LANGUAGES C)
|
||||
|
||||
list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user