Skip to content

Commit 123cee0

Browse files
committed
changed the target include directories of ur include folder to INTERFACE as godot-cpp does not need -Iinclude/godot_cpp to build.
1 parent e16a7cb commit 123cee0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/godotcpp.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ function( godotcpp_generate )
127127

128128
#This exposes the include directory to consumers
129129
target_include_directories( ${PROJECT_NAME}
130-
PUBLIC
130+
INTERFACE
131131
${PROJECT_SOURCE_DIR}/include/godot_cpp
132132
)
133133

0 commit comments

Comments
 (0)