]> source.dussan.org Git - tigervnc.git/commitdiff
Fix Windows installer dependencies
authorPierre Ossman <ossman@cendio.se>
Sun, 21 Apr 2024 00:21:42 +0000 (02:21 +0200)
committerPierre Ossman <ossman@cendio.se>
Mon, 24 Jun 2024 10:32:53 +0000 (12:32 +0200)
Make sure the dependencies point to the correct files, even if an out of
tree build is used.

release/CMakeLists.txt

index 043cc1c50783cd3d445a9a975c4671d5f0b30185..6cb14de0c09af273c255fc1978ee6b5ba5c218d0 100644 (file)
@@ -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