From 533bdcb25eac8f43453d2de166bb824df8dc4dae Mon Sep 17 00:00:00 2001 From: dundargoc <33953936+dundargoc@users.noreply.github.com> Date: Thu, 2 Feb 2023 12:27:48 +0100 Subject: [PATCH] build: remove unnecessary file generation (#22099) paths.lua.in doesn't rely on any generator expressions, so it's safe to remove file(GENERATE). --- CMakeLists.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5ca1e2caa7..9c0d999ab8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -397,10 +397,7 @@ if(BUSTED_PRG) configure_file( ${CMAKE_SOURCE_DIR}/test/cmakeconfig/paths.lua.in - ${CMAKE_BINARY_DIR}/test/cmakeconfig/paths.lua.gen) - file(GENERATE - OUTPUT ${CMAKE_BINARY_DIR}/test/cmakeconfig/paths.lua - INPUT ${CMAKE_BINARY_DIR}/test/cmakeconfig/paths.lua.gen) + ${CMAKE_BINARY_DIR}/test/cmakeconfig/paths.lua) add_custom_target(functionaltest COMMAND ${CMAKE_COMMAND}