mirror of
https://github.com/facebook/zstd.git
synced 2025-12-08 00:03:24 -05:00
Remove multithreading support by default on non UNIX platforms
This commit is contained in:
parent
a2286a333c
commit
5b3a9cbed2
@ -21,7 +21,11 @@ ADD_EXTRA_COMPILATION_FLAGS()
|
||||
# Options
|
||||
#-----------------------------------------------------------------------------
|
||||
OPTION(ZSTD_LEGACY_SUPPORT "LEGACY SUPPORT" OFF)
|
||||
IF (UNIX)
|
||||
OPTION(ZSTD_MULTITHREAD_SUPPORT "MULTITHREADING SUPPORT" ON)
|
||||
ELSE (UNIX)
|
||||
OPTION(ZSTD_MULTITHREAD_SUPPORT "MULTITHREADING SUPPORT" OFF)
|
||||
ENDIF (UNIX)
|
||||
OPTION(ZSTD_BUILD_PROGRAMS "BUILD PROGRAMS" ON)
|
||||
OPTION(ZSTD_BUILD_CONTRIB "BUILD CONTRIB" OFF)
|
||||
OPTION(ZSTD_BUILD_TESTS "BUILD TESTS" OFF)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user