Revert "SCons: Add CPPEXTPATH for external includes"

This commit is contained in:
Thaddeus Crews 2025-10-06 11:52:22 -05:00
parent d413181b8a
commit b17aa3343a
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC
55 changed files with 220 additions and 147 deletions

View file

@ -120,7 +120,7 @@ if env["builtin_mbedtls"]:
thirdparty_dir = "#thirdparty/mbedtls/library/"
thirdparty_sources = [thirdparty_dir + file for file in thirdparty_sources]
env_mbed_tls.Prepend(CPPEXTPATH=["#thirdparty/mbedtls/include/"])
env_mbed_tls.Prepend(CPPPATH=["#thirdparty/mbedtls/include/"])
config_path = "thirdparty/mbedtls/include/godot_module_mbedtls_config.h"
config_path = f"<{config_path}>" if env_mbed_tls["ninja"] and env_mbed_tls.msvc else f'\\"{config_path}\\"'
env_mbed_tls.Append(CPPDEFINES=[("MBEDTLS_CONFIG_FILE", config_path)])