diff options
author | xengineering <me@xengineering.eu> | 2025-04-02 21:06:18 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2025-04-02 21:06:18 +0200 |
commit | 2d618a86755362dd910d511ddc392330a1a35709 (patch) | |
tree | 6caabb870cb8b3c8dee7081031134a52f22df5d2 /cmake/hugo.cmake | |
parent | d19fc7e34f783b343e77b757c4f37aaadb5b66ca (diff) | |
download | iot-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 'cmake/hugo.cmake')
-rw-r--r-- | cmake/hugo.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/hugo.cmake b/cmake/hugo.cmake index e065f8b..0180958 100644 --- a/cmake/hugo.cmake +++ b/cmake/hugo.cmake @@ -2,7 +2,7 @@ # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at https://mozilla.org/MPL/2.0/. -function(hugo_site target source sink) +function(hugo_site target source sink dependencies) add_custom_target( "${target}" ALL @@ -16,6 +16,6 @@ function(hugo_site target source sink) COMMAND hugo --source ${source} --destination ${sink} DEPENDS - ${source} + ${dependencies} ) endfunction() |