summaryrefslogtreecommitdiff
path: root/modules/webrtc
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-04-30 18:23:38 +0200
committerGitHub <noreply@github.com>2019-04-30 18:23:38 +0200
commita7f00f3bacbb41f35b7120db6a911eda7c6feac9 (patch)
tree2d786b3d7fddbbb869ffdc33fa29279e179ae07f /modules/webrtc
parenta5c619dc8dc8a488599c3b08314ddb69e0ed445e (diff)
parentd52b70fb5e8e842ddcc9a57bad8e34366c0ee6d8 (diff)
Merge pull request #28530 from akien-mga/scons-prepend-cpppath
SCons: Always use env.Prepend for CPPPATH
Diffstat (limited to 'modules/webrtc')
-rw-r--r--modules/webrtc/SCsub3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/webrtc/SCsub b/modules/webrtc/SCsub
index 446bd530c2..868553b879 100644
--- a/modules/webrtc/SCsub
+++ b/modules/webrtc/SCsub
@@ -10,7 +10,6 @@ use_gdnative = env_webrtc["module_gdnative_enabled"]
if use_gdnative: # GDNative is retained in Javascript for export compatibility
env_webrtc.Append(CPPDEFINES=['WEBRTC_GDNATIVE_ENABLED'])
- gdnative_includes = ["#modules/gdnative/include/"]
- env_webrtc.Append(CPPPATH=gdnative_includes)
+ env_webrtc.Prepend(CPPPATH=["#modules/gdnative/include/"])
env_webrtc.add_source_files(env.modules_sources, "*.cpp")