mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Revert "SCons: Add CPPEXTPATH
for external includes"
This commit is contained in:
parent
d413181b8a
commit
b17aa3343a
55 changed files with 220 additions and 147 deletions
|
@ -302,7 +302,7 @@ def configure(env: "SConsEnvironment"):
|
|||
|
||||
if not env["builtin_recastnavigation"]:
|
||||
# No pkgconfig file so far, hardcode default paths.
|
||||
env.Prepend(CPPEXTPATH=["/usr/include/recastnavigation"])
|
||||
env.Prepend(CPPPATH=["/usr/include/recastnavigation"])
|
||||
env.Append(LIBS=["Recast"])
|
||||
|
||||
if not env["builtin_embree"] and env["arch"] in ["x86_64", "arm64"]:
|
||||
|
@ -414,7 +414,7 @@ def configure(env: "SConsEnvironment"):
|
|||
|
||||
env.Prepend(CPPPATH=["#platform/linuxbsd"])
|
||||
if env["use_sowrap"]:
|
||||
env.Prepend(CPPEXTPATH=["#thirdparty/linuxbsd_headers"])
|
||||
env.Prepend(CPPPATH=["#thirdparty/linuxbsd_headers"])
|
||||
|
||||
env.Append(
|
||||
CPPDEFINES=[
|
||||
|
@ -476,9 +476,9 @@ def configure(env: "SConsEnvironment"):
|
|||
sys.exit(255)
|
||||
env.ParseConfig("pkg-config wayland-egl --cflags --libs")
|
||||
else:
|
||||
env.Prepend(CPPEXTPATH=["#thirdparty/linuxbsd_headers/wayland/"])
|
||||
env.Prepend(CPPPATH=["#thirdparty/linuxbsd_headers/wayland/"])
|
||||
if env["libdecor"]:
|
||||
env.Prepend(CPPEXTPATH=["#thirdparty/linuxbsd_headers/libdecor-0/"])
|
||||
env.Prepend(CPPPATH=["#thirdparty/linuxbsd_headers/libdecor-0/"])
|
||||
|
||||
if env["libdecor"]:
|
||||
env.Append(CPPDEFINES=["LIBDECOR_ENABLED"])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue