diff options
author | Jia Tan <jiat0218@gmail.com> | 2023-03-28 22:25:33 +0800 |
---|---|---|
committer | Jia Tan <jiat0218@gmail.com> | 2023-04-25 20:18:45 +0800 |
commit | 023907faa965476fb921a6344253c50e0ba795f9 (patch) | |
tree | f81e9ffa69be1b587ae3edfbd8bbfee04586e12a /src/liblzma | |
parent | CMake: Only build xzdec if decoders are enabled. (diff) | |
download | xz-023907faa965476fb921a6344253c50e0ba795f9.tar.xz |
CMake: Allows setting thread method.
The thread method is now configurable for the CMake build. It matches
the Autotools build by allowing ON (pick the best threading method),
OFF (no threading), posix, win95, and vista. If both Windows and
posix threading are both available, then ON will choose Windows
threading. Windows threading will also not use:
target_link_libraries(liblzma Threads::Threads)
since on systems like MinGW-w64 it would link the posix threads
without purpose.
Diffstat (limited to 'src/liblzma')
0 files changed, 0 insertions, 0 deletions