]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Install forgotten zstdmt tool and zstd.1 man page
authorMilan Ševčík <majlen@civ.zcu.cz>
Mon, 20 Mar 2017 14:47:02 +0000 (15:47 +0100)
committerMilan Ševčík <majlen@civ.zcu.cz>
Tue, 21 Mar 2017 10:11:53 +0000 (11:11 +0100)
build/cmake/programs/CMakeLists.txt

index bc20a265f617dbb35d207aade8320e2e2f675e9b..b3cd1d129de9afc87beb73ab06dd406edd52d23d 100644 (file)
@@ -34,6 +34,8 @@ TARGET_LINK_LIBRARIES(zstd libzstd_shared)
 INSTALL(TARGETS zstd RUNTIME DESTINATION "bin")
 
 IF (UNIX)
+    INSTALL(FILES ${PROGRAMS_DIR}/zstd.1 DESTINATION "share/man/man1")
+
     ADD_EXECUTABLE(zstd-frugal ${PROGRAMS_DIR}/zstdcli.c ${PROGRAMS_DIR}/fileio.c)
     TARGET_LINK_LIBRARIES(zstd-frugal libzstd_shared)
     SET_TARGET_PROPERTIES(zstd-frugal PROPERTIES COMPILE_DEFINITIONS "ZSTD_NOBENCH;ZSTD_NODICT")
@@ -51,4 +53,6 @@ IF (ZSTD_MULTITHREAD_SUPPORT)
     ELSE()
         MESSAGE(SEND_ERROR "ZSTD currently does not support thread libraries other than pthreads")
     ENDIF()
+
+    INSTALL(TARGETS zstdmt RUNTIME DESTINATION "bin")
 ENDIF (ZSTD_MULTITHREAD_SUPPORT)