Issue reported to godot-cpp 1987

Missing quotes only processes the first doc source xml file.
This commit is contained in:
Samuel Nicholas
2026-05-28 10:22:38 +09:30
parent c5d45ad8ab
commit bb3b897c16

View File

@@ -59,7 +59,7 @@ file(GLOB_RECURSE DOC_XML LIST_DIRECTORIES NO CONFIGURE_DEPENDS "${PROJECT_SOURC
# conditionally add doc data to compile output # conditionally add doc data to compile output
if(DOC_XML) if(DOC_XML)
if(GODOTCPP_TARGET MATCHES "editor|template_debug") if(GODOTCPP_TARGET MATCHES "editor|template_debug")
target_doc_sources(${LIBNAME} ${DOC_XML}) target_doc_sources(${LIBNAME} "${DOC_XML}")
endif() endif()
endif() endif()