From: Lasse Collin Date: Sun, 16 Jun 2024 16:25:07 +0000 (+0300) Subject: CMake: Use native newlines in liblzma.pc X-Git-Tag: v5.6.3~47 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6ad5739094ac69ac448a84493f2c7ddfc6eb0688;p=thirdparty%2Fxz.git 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) --- diff --git a/CMakeLists.txt b/CMakeLists.txt index b505c900..19daabd5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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.