diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2023-09-21 20:42:52 +0300 |
---|---|---|
committer | Jia Tan <jiat0218@gmail.com> | 2023-10-31 18:44:59 +0800 |
commit | b7ce6e80786fc0c08ed129e8ee262ea96a5473a1 (patch) | |
tree | 903bc21c4152840bc8d4724c61233230b94b42a6 | |
parent | CMake: Add a comment about threads on Cygwin. (diff) | |
download | xz-b7ce6e80786fc0c08ed129e8ee262ea96a5473a1.tar.xz |
CMake: Wrap two overlong lines that are possible to wrap.
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index f6bdc47d..9304da31 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -390,9 +390,11 @@ if(ENABLE_THREADS) target_link_libraries(liblzma Threads::Threads) add_compile_definitions(MYTHREAD_POSIX) - # Check if pthread_condattr_setclock() exists to use CLOCK_MONOTONIC. + # Check if pthread_condattr_setclock() exists to + # use CLOCK_MONOTONIC. if(HAVE_CLOCK_MONOTONIC) - list(INSERT CMAKE_REQUIRED_LIBRARIES 0 "${CMAKE_THREAD_LIBS_INIT}") + list(INSERT CMAKE_REQUIRED_LIBRARIES 0 + "${CMAKE_THREAD_LIBS_INIT}") check_symbol_exists(pthread_condattr_setclock pthread.h HAVE_PTHREAD_CONDATTR_SETCLOCK) tuklib_add_definition_if(ALL HAVE_PTHREAD_CONDATTR_SETCLOCK) |