Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CMake: Link xz against Threads::Threads if using pthreads
The liblzma target was recently changed to link against Threads::Threads with the PRIVATE keyword. I had forgotten that xz itself depends on pthreads too due to pthread_sigmask(). Thus, the build broke when building shared liblzma and pthread_sigmask() wasn't in libc. Thanks to Peter Seiderer for the bug report. Fixes: ac05f1b Fixes: #129 (comment)
- Loading branch information