From: Pierre Ossman Date: Sun, 21 Apr 2024 00:21:42 +0000 (+0200) Subject: Fix Windows installer dependencies X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=100ac87e41e8e5abf7b754ae21865f591b593632;p=tigervnc.git Fix Windows installer dependencies Make sure the dependencies point to the correct files, even if an out of tree build is used. --- 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