From 100ac87e41e8e5abf7b754ae21865f591b593632 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Sun, 21 Apr 2024 02:21:42 +0200 Subject: [PATCH] Fix Windows installer dependencies Make sure the dependencies point to the correct files, even if an out of tree build is used. --- release/CMakeLists.txt | 4 ++-- 1 file 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 -- 2.39.5