build: remove unnecessary file generation (#22099)

paths.lua.in doesn't rely on any generator expressions, so it's safe to
remove file(GENERATE).
This commit is contained in:
dundargoc 2023-02-02 12:27:48 +01:00 committed by GitHub
parent 64fa75a86a
commit 533bdcb25e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}