aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2024-04-21 02:21:42 +0200
committerPierre Ossman <ossman@cendio.se>2024-06-24 12:32:53 +0200
commit100ac87e41e8e5abf7b754ae21865f591b593632 (patch)
treed2f4bf4bbcfba82aba0d44a729e2b4f23ea9444b
parent4812f13a3a20cb656a063f769b2745785fdc81ff (diff)
downloadtigervnc-100ac87e41e8e5abf7b754ae21865f591b593632.tar.gz
tigervnc-100ac87e41e8e5abf7b754ae21865f591b593632.zip
Fix Windows installer dependencies
Make sure the dependencies point to the correct files, even if an out of tree build is used.
-rw-r--r--release/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/CMakeLists.txt b/release/CMakeLists.txt
index 043cc1c5..6cb14de0 100644
--- a/release/CMakeLists.txt
+++ b/release/CMakeLists.txt
@@ -18,7 +18,7 @@ configure_file(tigervnc.iss.in tigervnc.iss)
add_custom_target(installer
iscc -o. ${INST_DEFS} -F${CMAKE_PROJECT_NAME}${INST_SUFFIX}-${VERSION} tigervnc.iss
DEPENDS vncviewer
- SOURCES tigervnc.iss)
+ SOURCES ${CMAKE_CURRENT_BINARY_DIR}/tigervnc.iss)
if(BUILD_WINVNC)
configure_file(winvnc.iss.in winvnc.iss)
@@ -26,7 +26,7 @@ if(BUILD_WINVNC)
add_custom_target(winvnc_installer
iscc -o. ${INST_DEFS} -F${CMAKE_PROJECT_NAME}${INST_SUFFIX}-winvnc-${VERSION} winvnc.iss
DEPENDS winvnc4 wm_hooks vncconfig
- SOURCES winvnc.iss)
+ SOURCES ${CMAKE_CURRENT_BINARY_DIR}/winvnc.iss)
endif()
endif() # WIN32