summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/CMakeLists.txt6
-rw-r--r--test/src/register_types.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index f229253..0538c5d 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -1,7 +1,7 @@
project(godot-cpp-test)
cmake_minimum_required(VERSION 3.6)
-set(GODOT_HEADERS_PATH ../godot-headers/ CACHE STRING "Path to Godot headers")
+set(GODOT_GDEXTENSION_DIR ../gdextension/ CACHE STRING "Path to GDExtension interface header directory")
set(CPP_BINDINGS_PATH ../ CACHE STRING "Path to C++ bindings")
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
@@ -102,8 +102,8 @@ add_library(${PROJECT_NAME} SHARED ${SOURCES} ${HEADERS})
target_include_directories(${PROJECT_NAME} SYSTEM
PRIVATE
${CPP_BINDINGS_PATH}/include
- ${CPP_BINDINGS_PATH}/gen/include
- ${GODOT_HEADERS_PATH}
+ ${CPP_BINDINGS_PATH}/gen/include
+ ${GODOT_GDEXTENSION_DIR}
)
# Create the correct name (godot.os.build_type.system_bits)
diff --git a/test/src/register_types.cpp b/test/src/register_types.cpp
index 917d669..e22662f 100644
--- a/test/src/register_types.cpp
+++ b/test/src/register_types.cpp
@@ -5,7 +5,7 @@
#include "register_types.h"
-#include <godot/gdextension_interface.h>
+#include <gdextension_interface.h>
#include <godot_cpp/core/class_db.hpp>
#include <godot_cpp/core/defs.hpp>