mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 12:28:59 +08:00
39104b4761
* [libevent] crt linkage fix
14 lines
350 B
Diff
14 lines
350 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index bf333f3..5bc2a54 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -230,7 +230,7 @@ endif()
|
|
|
|
if (${MSVC})
|
|
set(msvc_static_runtime OFF)
|
|
- if ("${EVENT_LIBRARY_TYPE}" STREQUAL "STATIC")
|
|
+ if ("${VCPKG_CRT_LINKAGE}" STREQUAL "STATIC")
|
|
set(msvc_static_runtime ON)
|
|
endif()
|
|
|