1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
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}" )