enet: Split enet thirdparty files and allow unbundling
Building against shared libraries only implemented for Linux X11 so far. TODO: Document Godot's modifications of upstream enet.
This commit is contained in:
@ -149,7 +149,8 @@ def configure(env):
|
||||
if (env["freetype"]=="yes"):
|
||||
env.ParseConfig('pkg-config freetype2 --cflags --libs')
|
||||
|
||||
|
||||
if (env["enet"] == "system"):
|
||||
env.ParseConfig('pkg-config libenet --cflags --libs')
|
||||
|
||||
|
||||
env.Append(CPPFLAGS=['-DOPENGL_ENABLED'])
|
||||
|
||||
Reference in New Issue
Block a user