diff --git a/xmake.lua b/xmake.lua index 0dc96b7f1..9e9f44ea0 100644 --- a/xmake.lua +++ b/xmake.lua @@ -87,7 +87,7 @@ local modules = { add_repositories("local-repo xmake-repo") add_requires("chipmunk2d", "freetype", "libsndfile", "libsdl") -add_requires("newtondynamics", { debug = is_mode("debug") }) +add_requires("newtondynamics", { debug = is_plat("windows") and is_mode("debug") }) -- Newton doesn't like compiling in Debug on Linux set_project("NazaraEngine") @@ -127,6 +127,7 @@ includes("thirdparty/xmake.lua") for name, module in pairs(modules) do target("Nazara" .. name) + set_kind("shared") set_group("Modules")