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 \