From e42283a55326dd9ca0b050aa634d4046f6119249 Mon Sep 17 00:00:00 2001 From: Kah Wei Date: Tue, 27 Sep 2022 01:12:02 +0800 Subject: [PATCH] Fixed RTTR linker errors --- SHADE_Managed/premake5.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/SHADE_Managed/premake5.lua b/SHADE_Managed/premake5.lua index e50e9e86..a7b20144 100644 --- a/SHADE_Managed/premake5.lua +++ b/SHADE_Managed/premake5.lua @@ -33,6 +33,11 @@ project "SHADE_Managed" "%{IncludeDir.RTTR}/include", "%{wks.location}/SHADE_Engine/src" } + + libdirs + { + "%{IncludeDir.RTTR}/lib" + } links { @@ -68,7 +73,9 @@ project "SHADE_Managed" filter "configurations:Debug" symbols "On" defines {"_DEBUG"} + links{"librttr_core_d.lib"} filter "configurations:Release" optimize "On" defines{"_RELEASE"} + links{"librttr_core.lib"}