Modified config to link glad as a static libreary and added fPIC flag to link glad in a shared libreary

dev
anulax1225 ago%!(EXTRA string=1 year)
parent d0ee58a3ad
commit 127468f7ab
  1. 3
      premake5.lua
  2. 2
      sandbox/premake5.lua

@ -18,7 +18,8 @@ IncludeDirs["vendor"] = "%{wks.location}/bakara/vendor"
IncludeDirs["spdlog"] = "%{wks.location}/bakara/vendor/spdloglib/include" IncludeDirs["spdlog"] = "%{wks.location}/bakara/vendor/spdloglib/include"
IncludeDirs["glm"] = "%{wks.location}/bakara/vendor/glm" IncludeDirs["glm"] = "%{wks.location}/bakara/vendor/glm"
IncludeDirs["glfw"] = "%{wks.location}/bakara/vendor/glfw/include" IncludeDirs["glfw"] = "%{wks.location}/bakara/vendor/glfw/include"
IncludeDirs["sdl2"] = "%{wks.location}/bakara/vendor/SDL/include" IncludeDirs["glad"] = "%{wks.location}/bakara/vendor/glad/include"
group "Dependencies" group "Dependencies"
include "bakara/vendor" include "bakara/vendor"

@ -52,7 +52,7 @@ filter "system:windows"
} }
filter "system:linux" filter "system:linux"
staticruntime "off" staticruntime "on"
defines defines
{ {
"BK_PLATFORM_LINUX" "BK_PLATFORM_LINUX"

Loading…
Cancel
Save