From 198ee5bd97acd62fcbc62bb8e765b761667c0532 Mon Sep 17 00:00:00 2001 From: Robin Seth Ekman Date: Mon, 11 Nov 2024 07:29:25 +0100 Subject: [PATCH] build: update web/CMakeLists.txt to reflect renamed files (Fixes: #7240) (#7241) the files web/prettier.config.js and web/stylelint.config.js were renamed in b9f4509, but web/CMakeLists.txt was not updated correspondingly. hence, using `REBUILD_WEB` would cause FTFS. --- web/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/CMakeLists.txt b/web/CMakeLists.txt index 39e8ab469..816aba5dd 100644 --- a/web/CMakeLists.txt +++ b/web/CMakeLists.txt @@ -65,8 +65,8 @@ add_custom_command( "${CMAKE_CURRENT_SOURCE_DIR}/esbuild.mjs" "${CMAKE_CURRENT_SOURCE_DIR}/package-lock.json" "${CMAKE_CURRENT_SOURCE_DIR}/package.json" - "${CMAKE_CURRENT_SOURCE_DIR}/prettier.config.js" - "${CMAKE_CURRENT_SOURCE_DIR}/stylelint.config.js" + "${CMAKE_CURRENT_SOURCE_DIR}/prettier.config.cjs" + "${CMAKE_CURRENT_SOURCE_DIR}/stylelint.config.cjs" "${CMAKE_CURRENT_BINARY_DIR}" COMMAND "${CMAKE_COMMAND}" -E copy_directory "${CMAKE_CURRENT_SOURCE_DIR}/assets" "assets"