]> source.dussan.org Git - tigervnc.git/commitdiff
Don't specify SOURCE in custom targets
authorPierre Ossman <ossman@cendio.se>
Fri, 5 Nov 2021 12:06:07 +0000 (13:06 +0100)
committerPierre Ossman <ossman@cendio.se>
Fri, 5 Nov 2021 12:28:46 +0000 (13:28 +0100)
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

index 9bf0816ea4bb5a7e56fdeceb39cb835f48376509..86f167f533bcdd11ced2c75647de81182d81e3ae 100644 (file)
@@ -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