cmake: make HEADERS_DIR a required argument of SDL_generate_manpages

This commit is contained in:
Anonymous Maarten 2023-09-29 03:42:33 +02:00
parent 5c1a91a4e1
commit 5be5000fa1
2 changed files with 3 additions and 2 deletions

View file

@ -19,7 +19,7 @@ function(SDL_generate_manpages)
endif()
if(NOT ARG_HEADERS_DIR)
set(ARG_HEADERS_DIR "${PROJECT_SOURCE_DIR}/include/SDL3")
message(FATAL_ERROR "Missing required HEADERS_DIR argument")
endif()
# FIXME: get rid of SYMBOL and let the perl script figure out the dependencies