summaryrefslogtreecommitdiff
path: root/core/math/SCsub
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-07-03 18:01:22 +0200
committerGitHub <noreply@github.com>2019-07-03 18:01:22 +0200
commita3bdb6c8d83d424da664ea8c4ee680a9b67e1b30 (patch)
tree8672de67513b1971abcb9c5fb5b0337ddcf67184 /core/math/SCsub
parentf5f7244a2b59de60b2c1c29346b2fe5ded2ae2d0 (diff)
parentb0d41847ed1e4cd9407dce0d26aaa09db656ec12 (diff)
Merge pull request #30277 from akien-mga/scons-cppdefines
SCons: Use CPPDEFINES instead of CPPFLAGS for pre-processor defines
Diffstat (limited to 'core/math/SCsub')
-rw-r--r--core/math/SCsub2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/SCsub b/core/math/SCsub
index 4e76efceff..aa98c34f79 100644
--- a/core/math/SCsub
+++ b/core/math/SCsub
@@ -22,7 +22,7 @@ if not has_module:
env_thirdparty = env_math.Clone()
env_thirdparty.disable_warnings()
# Custom config file
- env_thirdparty.Append(CPPFLAGS=['-DMBEDTLS_CONFIG_FILE="\\"thirdparty/mbedtls/include/godot_core_mbedtls_config.h\\""'])
+ env_thirdparty.Append(CPPDEFINES=[('MBEDTLS_CONFIG_FILE', "thirdparty/mbedtls/include/godot_core_mbedtls_config.h")])
thirdparty_mbedtls_dir = "#thirdparty/mbedtls/library/"
thirdparty_mbedtls_sources = [
"aes.c",