From 011f7deac219989bee5be9fdb7756016d5896973 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Fri, 5 Nov 2021 13:06:07 +0100 Subject: [PATCH] Don't specify SOURCE in custom targets They don't really contribute to anything as the command line is fixed, and it makes CMake 3.20+ upset since it cannot find that file and instead thinks we meant maketarball.in (CMP0115). --- release/CMakeLists.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/release/CMakeLists.txt b/release/CMakeLists.txt index 9bf0816e..86f167f5 100644 --- a/release/CMakeLists.txt +++ b/release/CMakeLists.txt @@ -70,12 +70,10 @@ if(BUILD_JAVA) endif() add_custom_target(tarball bash maketarball - DEPENDS ${TARBALL_DEPENDS} - SOURCES maketarball) + DEPENDS ${TARBALL_DEPENDS}) add_custom_target(servertarball bash maketarball server - DEPENDS ${TARBALL_DEPENDS} - SOURCES maketarball) + DEPENDS ${TARBALL_DEPENDS}) endif() #UNIX -- 2.39.5