aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorJia Tan <jiat0218@gmail.com>2023-03-28 22:25:33 +0800
committerJia Tan <jiat0218@gmail.com>2023-03-29 23:24:12 +0800
commit4d7fac0b07cc722825ba8d7838c558827e635611 (patch)
treebcae729bec6b6a49c1fe4345c5a61d58b4604afb /Makefile.am
parentCI: Runs CMake feature tests. (diff)
downloadxz-4d7fac0b07cc722825ba8d7838c558827e635611.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 'Makefile.am')
0 files changed, 0 insertions, 0 deletions