From 145fb3f111f44b1dfe0fc1743fe424da8f858763 Mon Sep 17 00:00:00 2001 From: Luis Blanco Date: Tue, 28 Nov 2023 23:21:47 +0400 Subject: [PATCH] Fix windows mt lib --- src/windows.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/windows.sh b/src/windows.sh index be4fa1b..5179839 100644 --- a/src/windows.sh +++ b/src/windows.sh @@ -2,6 +2,8 @@ cd src/libuiohook/build cmake -A x64 \ + -DCMAKE_POLICY_DEFAULT_CMP0091=NEW \ + -DCMAKE_MSVC_RUNTIME_LIBRARY="MultiThreaded" \ -DBUILD_SHARED_LIBS=OFF \ -DBUILD_DEMO=OFF \ -DCMAKE_INSTALL_PREFIX=../installed \