build: mark doc target as ALL_BUILD

Windows does not support the doc target, which causes the CI to fail.
Marking the doc target as ALL should fix this.

Signed-off-by: Ronald Caesar <github43132@proton.me>
This commit is contained in:
Ronald Caesar
2026-01-16 23:23:22 -04:00
parent f4fbdc43e4
commit 6006b5e9e9
2 changed files with 3 additions and 5 deletions

View File

@@ -106,7 +106,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux" OR CMAKE_SYSTEM_NAME STREQUAL "Darwin")
set (PROJECT_HEADERS include/bal_engine.h include/bal_decoder.h
include/bal_memory.h include/bal_types.h include/bal_errors.h)
add_custom_target(doc
add_custom_target(doc ALL
COMMAND ${CMAKE_CURRENT_BINARY_DIR}/cdoc docs/cdoc ${PROJECT_HEADERS}
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
COMMENT "Generating Documentation..."