aboutsummaryrefslogtreecommitdiff
path: root/m4/tuklib_common.m4
diff options
context:
space:
mode:
authorJia Tan <jiat0218@gmail.com>2023-03-28 22:25:33 +0800
committerJia Tan <jiat0218@gmail.com>2023-04-25 20:18:45 +0800
commit023907faa965476fb921a6344253c50e0ba795f9 (patch)
treef81e9ffa69be1b587ae3edfbd8bbfee04586e12a /m4/tuklib_common.m4
parentCMake: Only build xzdec if decoders are enabled. (diff)
downloadxz-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 'm4/tuklib_common.m4')
0 files changed, 0 insertions, 0 deletions