From c6f5f8b0b9505c1e323561b320a334a1ebd540a2 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Fri, 2 Oct 2020 12:22:51 +0200 Subject: [PATCH] Fix installation of vncsession.man It is now dynamically generated, so it will be in the build directory and not in the source directory. --- unix/vncserver/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unix/vncserver/CMakeLists.txt b/unix/vncserver/CMakeLists.txt index 71d5feec..9cf0e0ed 100644 --- a/unix/vncserver/CMakeLists.txt +++ b/unix/vncserver/CMakeLists.txt @@ -8,7 +8,7 @@ configure_file(vncsession.man.in vncsession.man @ONLY) install(TARGETS vncsession DESTINATION ${CMAKE_INSTALL_FULL_SBINDIR}) install(FILES tigervnc.pam DESTINATION ${CMAKE_INSTALL_FULL_SYSCONFDIR}/pam.d RENAME tigervnc) -install(FILES vncsession.man DESTINATION ${CMAKE_INSTALL_FULL_MANDIR}/man8 RENAME vncsession.8) +install(FILES ${CMAKE_CURRENT_BINARY_DIR}/vncsession.man DESTINATION ${CMAKE_INSTALL_FULL_MANDIR}/man8 RENAME vncsession.8) install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/vncserver DESTINATION ${CMAKE_INSTALL_FULL_LIBEXECDIR}) install(FILES vncserver.man DESTINATION ${CMAKE_INSTALL_FULL_MANDIR}/man8 RENAME vncserver.8) install(FILES vncserver-config-defaults vncserver-config-mandatory DESTINATION ${CMAKE_INSTALL_FULL_SYSCONFDIR}/tigervnc) -- 2.39.5