cmake: allow man page installation by SDL satellite libraries
This is done by installing the wikiheaders.pl script, and add a wrapping cmake function.
This commit is contained in:
1 parent
9ab2025127
commit
937f5d0059
3 files changed
+74
-22
No files matched your search
@@ -93,3 +93,8 @@ set(SDL3_STATIC_LIBRARIES SDL3::SDL3-static)
|
||||
set(SDL3_STATIC_PRIVATE_LIBS)
|
||||
|
||||
set(SDL3TEST_LIBRARY SDL3::SDL3_test)
|
||||
|
||||
if(SDL3_FOUND)
|
||||
set(WIKIHEADERS_PL_PATH "${CMAKE_CURRENT_LIST_DIR}/wikiheaders.pl")
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/sdlmanpages.cmake")
|
||||
endif()
|
||||
Reference in new issue
Block a user