diff options
author | Pierre Ossman <ossman@cendio.se> | 2021-11-05 13:06:07 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2021-11-05 13:28:46 +0100 |
commit | 011f7deac219989bee5be9fdb7756016d5896973 (patch) | |
tree | d94bbc7c6d31e06533e9cee16749cda36f77a20c | |
parent | 733c6b5f81a1c049c2c65e415d7a5c3984ded96e (diff) | |
download | tigervnc-011f7deac219989bee5be9fdb7756016d5896973.tar.gz tigervnc-011f7deac219989bee5be9fdb7756016d5896973.zip |
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).
-rw-r--r-- | release/CMakeLists.txt | 6 |
1 files 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 |