From 5ca96a93488d0f5a530c78b274cac317453807ff Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Sun, 16 Jun 2024 19:25:07 +0300 Subject: [PATCH] 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. --- CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 22d2897a..d77d5fd0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1429,9 +1429,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.