Install KaiOS app docs even without Halibut

Rather than installing the documentation only when Halibut is
available, install the documentation whenever it exists.  This allows
for the way that Buildscr injects the documentation into official
KaiOS builds.
This commit is contained in:
Ben Harris
2023-01-20 09:50:24 +00:00
parent a7bbd897fc
commit 88872fe806

View File

@ -124,10 +124,8 @@ function(build_platform_extras)
DESTINATION kaios/${name})
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/kaios/kaiads-glue.js
DESTINATION kaios/${name})
if (HALIBUT)
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/help
DESTINATION kaios/${name})
endif()
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/help OPTIONAL
DESTINATION kaios/${name})
endforeach()
endfunction()