diff options
Diffstat (limited to 'cmake/BuildPackages.cmake')
-rw-r--r-- | cmake/BuildPackages.cmake | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/cmake/BuildPackages.cmake b/cmake/BuildPackages.cmake index 1493b5e3..7aa0a3cc 100644 --- a/cmake/BuildPackages.cmake +++ b/cmake/BuildPackages.cmake @@ -70,7 +70,25 @@ endif() # APPLE # +# Binary tarball +# + +if(UNIX) + +configure_file(release/maketarball.in release/maketarball) + +add_custom_target(tarball sh release/maketarball + DEPENDS vncviewer vncpasswd vncconfig + SOURCES release/maketarball) + +add_custom_target(servertarball sh release/maketarball server + DEPENDS vncviewer vncpasswd vncconfig + SOURCES release/maketarball) + +endif() #UNIX + +# # Common # -install(FILES ${CMAKE_SOURCE_DIR}/LICENCE.txt DESTINATION .) +install(FILES ${CMAKE_SOURCE_DIR}/LICENCE.TXT DESTINATION doc) |