cmake: make HEADERS_DIR a required argument of SDL_generate_manpages

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

No files matched your search

+1 -1
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