summaryrefslogtreecommitdiff
path: root/tests/SCsub
diff options
context:
space:
mode:
Diffstat (limited to 'tests/SCsub')
-rw-r--r--tests/SCsub3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/SCsub b/tests/SCsub
index a2864d805b..44b4cdc4b0 100644
--- a/tests/SCsub
+++ b/tests/SCsub
@@ -6,6 +6,9 @@ env.tests_sources = []
env_tests = env.Clone()
+# Include GDNative headers.
+env_tests.Append(CPPPATH=["#modules/gdnative/include"])
+
# We must disable the THREAD_LOCAL entirely in doctest to prevent crashes on debugging
# Since we link with /MT thread_local is always expired when the header is used
# So the debugger crashes the engine and it causes weird errors