CMake: Improve the comment about LIBS

(cherry picked from commit d3f20382fc)
This commit is contained in:
Lasse Collin 2024-06-24 21:06:18 +03:00
parent 65aaa0f870
commit cc386f4ff4
No known key found for this signature in database
GPG Key ID: 38EE757D69184620
1 changed files with 6 additions and 0 deletions

View File

@ -256,6 +256,12 @@ tuklib_large_file_support(ALL)
tuklib_integer(ALL)
# This is used for liblzma.pc generation to add -lrt if needed.
#
# The variable name LIBS comes from Autoconf where AC_SEARCH_LIBS adds the
# libraries it finds into the shell variable LIBS. These libraries need to
# be put into liblzma.pc too, thus liblzma.pc.in has @LIBS@ because that
# matches the Autoconf's variable. When CMake support was added, using
# the same variable with configure_file() was the simplest method.
set(LIBS)
# Check for clock_gettime(). Do this before checking for threading so