|
| 1 | +From 78c826e1f4ccee24652f5301b720f05866ec00c6 Mon Sep 17 00:00:00 2001 |
| 2 | +From: Morgan Helton < [email protected]> |
| 3 | +Date: Tue, 25 Feb 2025 20:36:19 -0600 |
| 4 | +Subject: [PATCH] feat: use pre-fetched par2-turbo |
| 5 | + |
| 6 | +--- |
| 7 | + cmake/par2-turbo.cmake | 19 +++++++------------ |
| 8 | + 1 file changed, 7 insertions(+), 12 deletions(-) |
| 9 | + |
1 | 10 | diff --git a/cmake/par2-turbo.cmake b/cmake/par2-turbo.cmake |
2 | | -index 4fa76b54..cf293452 100644 |
| 11 | +index b0f2e70e..ff3389e0 100644 |
3 | 12 | --- a/cmake/par2-turbo.cmake |
4 | 13 | +++ b/cmake/par2-turbo.cmake |
5 | | -@@ -24,17 +24,13 @@ if(CMAKE_SYSROOT) |
| 14 | +@@ -39,18 +39,13 @@ if(CMAKE_SYSROOT) |
6 | 15 | ) |
7 | 16 | endif() |
8 | 17 |
|
9 | 18 | -ExternalProject_add( |
10 | 19 | - par2-turbo |
11 | 20 | - PREFIX par2-turbo |
12 | 21 | - GIT_REPOSITORY https://github.com/nzbgetcom/par2cmdline-turbo.git |
13 | | -- GIT_TAG v1.1.1-nzbget-20241128 |
| 22 | +- GIT_TAG v1.2.0-nzbget-20250213 |
14 | 23 | - TLS_VERIFY TRUE |
15 | 24 | - GIT_SHALLOW TRUE |
16 | 25 | - GIT_PROGRESS TRUE |
17 | 26 | - DOWNLOAD_EXTRACT_TIMESTAMP TRUE |
18 | | -- CMAKE_ARGS ${CMAKE_ARGS} |
| 27 | +- BUILD_BYPRODUCTS ${PAR2_LIBS} |
| 28 | +- CMAKE_ARGS ${CMAKE_ARGS} |
19 | 29 | - INSTALL_COMMAND "" |
20 | | -+ |
21 | 30 | +ExternalProject_Add( |
22 | 31 | + par2-turbo |
23 | 32 | + PREFIX par2-turbo |
24 | 33 | + SOURCE_DIR ${CMAKE_BINARY_DIR}/par2-turbo/src/par2-turbo |
| 34 | ++ BUILD_BYPRODUCTS ${PAR2_LIBS} |
25 | 35 | + CMAKE_ARGS ${CMAKE_ARGS} |
26 | 36 | + INSTALL_COMMAND "" |
27 | 37 | ) |
28 | 38 |
|
29 | | - if(WIN32) |
| 39 | + set(LIBS ${LIBS} ${PAR2_LIBS}) |
| 40 | +-- |
| 41 | +2.48.1 |
| 42 | + |
0 commit comments