aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Harris <bjh21@bjh21.me.uk>2023-01-20 09:50:24 +0000
committerBen Harris <bjh21@bjh21.me.uk>2023-01-20 09:50:24 +0000
commit88872fe806bb3700c8dc6372d66e1b6620f78da2 (patch)
tree0203d1364df7ed7ee055e3e8e5e9b6f39de8f305
parenta7bbd897fc6be13b8699a206dd422ad6e09928d3 (diff)
downloadpuzzles-88872fe806bb3700c8dc6372d66e1b6620f78da2.zip
puzzles-88872fe806bb3700c8dc6372d66e1b6620f78da2.tar.gz
puzzles-88872fe806bb3700c8dc6372d66e1b6620f78da2.tar.bz2
puzzles-88872fe806bb3700c8dc6372d66e1b6620f78da2.tar.xz
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.
-rw-r--r--cmake/platforms/emscripten.cmake6
1 files changed, 2 insertions, 4 deletions
diff --git a/cmake/platforms/emscripten.cmake b/cmake/platforms/emscripten.cmake
index 898d3ea..13e4261 100644
--- a/cmake/platforms/emscripten.cmake
+++ b/cmake/platforms/emscripten.cmake
@@ -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()