From 716ca42d45388de776f1f42db6745f26e1d71616 Mon Sep 17 00:00:00 2001 From: David Cattermole Date: Mon, 9 Oct 2023 22:38:50 +1100 Subject: [PATCH] Add Windows libraries to mmscenegraph Strange, but without this change mmSolver doesn't link on Windows. --- share/cmake/modules/MMRustUtils.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/share/cmake/modules/MMRustUtils.cmake b/share/cmake/modules/MMRustUtils.cmake index a27b5b30..b2a097ff 100644 --- a/share/cmake/modules/MMRustUtils.cmake +++ b/share/cmake/modules/MMRustUtils.cmake @@ -81,6 +81,8 @@ function(mm_rust_get_depend_on_libraries depend_on_libraries) # https://cmake.org/cmake/help/latest/command/set.html#set-normal-variable if (MSVC) set(depend_on_libraries + Kernel32 + Ntdll ws2_32 userenv advapi32 shell32 msvcrt Bcrypt PARENT_SCOPE )