From 2d618a86755362dd910d511ddc392330a1a35709 Mon Sep 17 00:00:00 2001 From: xengineering Date: Wed, 2 Apr 2025 21:06:18 +0200 Subject: web: Fix dependencies in CMake This makes sure incremental builds work properly for the web page. --- web/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'web') 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}" ) -- cgit v1.2.3-70-g09d2