aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/jansson/portfile.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/jansson/portfile.cmake b/ports/jansson/portfile.cmake
index 412d295b7..c5409bec2 100644
--- a/ports/jansson/portfile.cmake
+++ b/ports/jansson/portfile.cmake
@@ -8,7 +8,7 @@ vcpkg_from_github(
HEAD_REF master
)
-if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
+if(VCPKG_CRT_LINKAGE STREQUAL static)
set(JANSSON_STATIC_CRT ON)
else()
set(JANSSON_STATIC_CRT OFF)