From 1aa0a696bac6efd22fc557c59acf4cd00f0580e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Leclercq?= Date: Sat, 5 Mar 2022 00:32:07 +0100 Subject: [PATCH] Fix MinGW compilation --- xmake.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmake.lua b/xmake.lua index 733a180f1..de027a1c3 100644 --- a/xmake.lua +++ b/xmake.lua @@ -12,7 +12,7 @@ local modules = { -- NazaraMath is header-only, make it part of the core project add_headerfiles("include/(Nazara/Math/**.hpp)", "include/(Nazara/Math/**.inl)") - if is_plat("windows") then + if is_plat("windows", "mingw") then add_syslinks("ole32") elseif is_plat("linux") then add_syslinks("dl", "pthread", "uuid")