mirror of
https://github.com/facebook/zstd
synced 2026-08-22 22:32:07 -04:00
fix missing symbol 'nanosleep' for Solaris
This commit is contained in:
parent
40156a4967
commit
c325c8db82
1 changed files with 3 additions and 0 deletions
|
|
@ -31,6 +31,9 @@ ENDIF (MSVC)
|
|||
|
||||
ADD_EXECUTABLE(zstd ${PROGRAMS_DIR}/zstdcli.c ${PROGRAMS_DIR}/fileio.c ${PROGRAMS_DIR}/bench.c ${PROGRAMS_DIR}/datagen.c ${PROGRAMS_DIR}/dibio.c ${PlatformDependResources})
|
||||
TARGET_LINK_LIBRARIES(zstd libzstd_static)
|
||||
IF (CMAKE_SYSTEM_NAME MATCHES "(Solaris|SunOS)")
|
||||
TARGET_LINK_LIBRARIES(zstd rt)
|
||||
ENDIF (CMAKE_SYSTEM_NAME MATCHES "(Solaris|SunOS)")
|
||||
INSTALL(TARGETS zstd RUNTIME DESTINATION "bin")
|
||||
|
||||
IF (UNIX)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue