summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2025-04-02 21:06:18 +0200
committerxengineering <me@xengineering.eu>2025-04-02 21:06:18 +0200
commit2d618a86755362dd910d511ddc392330a1a35709 (patch)
tree6caabb870cb8b3c8dee7081031134a52f22df5d2 /web
parentd19fc7e34f783b343e77b757c4f37aaadb5b66ca (diff)
downloadiot-contact-2d618a86755362dd910d511ddc392330a1a35709.tar
iot-contact-2d618a86755362dd910d511ddc392330a1a35709.tar.zst
iot-contact-2d618a86755362dd910d511ddc392330a1a35709.zip
web: Fix dependencies in CMake
This makes sure incremental builds work properly for the web page.
Diffstat (limited to 'web')
-rw-r--r--web/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/web/CMakeLists.txt b/web/CMakeLists.txt
index 0cdb498..92af0cb 100644
--- a/web/CMakeLists.txt
+++ b/web/CMakeLists.txt
@@ -2,8 +2,15 @@ cmake_minimum_required(VERSION 3.10)
include(hugo)
+set(dependencies
+ hugo.toml
+ layouts/baseof.html
+ layouts/home.html
+)
+
hugo_site(
"website"
"${CMAKE_CURRENT_SOURCE_DIR}"
"${CMAKE_CURRENT_BINARY_DIR}/public"
+ "${dependencies}"
)