1
0
mirror of https://git.tukaani.org/xz.git synced 2025-02-20 07:28:20 +00:00

CMake: Use native newlines in liblzma.pc

vcpkg doesn't specify the newline type so it should be fine to
use native newlines in liblzma.pc on Windows.

(cherry picked from commit 5ca96a93488d0f5a530c78b274cac317453807ff)
This commit is contained in:
Lasse Collin 2024-06-16 19:25:07 +03:00
parent 4107f20667
commit 6ad5739094
No known key found for this signature in database
GPG Key ID: 38EE757D69184620

View File

@ -1413,9 +1413,7 @@ else()
endif()
set(PTHREAD_CFLAGS "${CMAKE_THREAD_LIBS_INIT}")
configure_file(src/liblzma/liblzma.pc.in liblzma.pc
@ONLY
NEWLINE_STYLE LF)
configure_file(src/liblzma/liblzma.pc.in liblzma.pc @ONLY)
# Install the library binary. The INCLUDES specifies the include path that
# is exported for other projects to use but it doesn't install any files.