CMake: Fix compile flags for docgen

This commit is contained in:
Vicki Pfau 2024-07-01 00:51:15 -07:00
parent a824989e5a
commit 916fa1dba0
1 changed files with 1 additions and 0 deletions

View File

@ -1014,6 +1014,7 @@ endif()
if(ENABLE_SCRIPTING AND BUILD_DOCGEN) if(ENABLE_SCRIPTING AND BUILD_DOCGEN)
add_executable(docgen ${CMAKE_CURRENT_SOURCE_DIR}/src/tools/docgen.c) add_executable(docgen ${CMAKE_CURRENT_SOURCE_DIR}/src/tools/docgen.c)
target_link_libraries(docgen ${OS_LIB} ${PLATFORM_LIBRARY} ${BINARY_NAME}) target_link_libraries(docgen ${OS_LIB} ${PLATFORM_LIBRARY} ${BINARY_NAME})
set_target_properties(docgen PROPERTIES COMPILE_DEFINITIONS "${OS_DEFINES};${FUNCTION_DEFINES};${FEATURE_DEFINES}")
endif() endif()
if(BUILD_MAINTAINER_TOOLS) if(BUILD_MAINTAINER_TOOLS)