build: the server workspace builds the core from ../core

There is one copy of the core in this repo. The server's premake includes
../core instead of its old ocgcore submodule, gframe takes its headers
from there, and the core's premake takes the Lua include dir the server
workspace resolves (LUA_INCLUDE_DIR) instead of assuming a sibling lua/.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
donnyandClaude Fable 5.1 committed 2026-10-14 20:59:29 -07:00
1 parent 3993b8c5e5
commit 8945edc9e2
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ project "ocgcore"
files { "*.cpp", "*.h" }
if BUILD_LUA then
includedirs { "../lua/src" }
includedirs { LUA_INCLUDE_DIR or "../lua/src" }
else
includedirs { LUA_INCLUDE_DIR }
end