]> git.ipfire.org Git - thirdparty/xz.git/commit
CMake: Use CMAKE_THREAD_LIBS_INIT in liblzma.pc only with pthreads
authorLasse Collin <lasse.collin@tukaani.org>
Sun, 16 Jun 2024 16:37:36 +0000 (19:37 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Fri, 6 Sep 2024 16:06:23 +0000 (19:06 +0300)
commita95a9601a109f0d0d059dea7a5a44efa87ef1401
treed000af9ff53f51f1c15a856259d59c8755a049cf
parent65a10ddd439ad435d2c0176106b1e2d6b9c1b3a1
CMake: Use CMAKE_THREAD_LIBS_INIT in liblzma.pc only with pthreads

This shouldn't make much difference in practice as on Windows
no flags are needed anyway and unitialized variable (when threading
is disabled) expands to empty. But it's clearer this way.

(cherry picked from commit 2aecffe0f0e14f3ef635e8cd7b405420f2385de2)
CMakeLists.txt