From a92752fff74ee0ca584b6a13e1240790179c6ac3 Mon Sep 17 00:00:00 2001 From: "Maarten L. Hekkelman" Date: Thu, 27 Nov 2025 16:09:55 +0100 Subject: [PATCH] Try again --- CMakeLists.txt | 3 ++- tools/depends.cmd | 16 ---------------- 2 files changed, 2 insertions(+), 17 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9d4c631..3018fd5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -128,7 +128,8 @@ CPMFindPackage( find_package(cifpp 9.0.5 QUIET) if(NOT (cifpp_FOUND OR TARGET cifpp)) - message(FATAL_ERROR "Could not find libcifpp. Please make sure you install libcifpp first, code can be found at https://github.com/PDB-REDO/libcifpp") + # message(FATAL_ERROR "Could not find libcifpp. Please make sure you install libcifpp first, code can be found at https://github.com/PDB-REDO/libcifpp") + CPMAddPackage("https://github.com/PDB-REDO/libcifpp") endif() if(TARGET cifpp) diff --git a/tools/depends.cmd b/tools/depends.cmd index c119e09..0542bde 100644 --- a/tools/depends.cmd +++ b/tools/depends.cmd @@ -1,6 +1,5 @@ @ECHO OFF SET ZLIB_VERSION=1.3 -SET PCRE2_VERSION=10.45 IF NOT EXIST build_ci\libs ( MKDIR build_ci\libs @@ -22,19 +21,4 @@ cmake --build build --target ALL_BUILD --config Release || EXIT /b 1 cmake --build build --target RUN_TESTS --config Release || EXIT /b 1 cmake --build build --target INSTALL --config Release || EXIT /b 1 -@REM Install PCRE2 -IF NOT EXIST pcre2-%PCRE2_VERSION%.zip ( - ECHO Downloading https://github.com/PCRE2Project/pcre2/releases/download/pcre2-%PCRE2_VERSION%/pcre2-%PCRE2_VERSION%.zip - curl -L -o pcre2-%PCRE2_VERSION%.zip https://github.com/PCRE2Project/pcre2/releases/download/pcre2-%PCRE2_VERSION%/pcre2-%PCRE2_VERSION%.zip || EXIT /b 1 -) -IF NOT EXIST pcre2-%PCRE2_VERSION% ( - ECHO Unpacking pcre2-%PCRE2_VERSION%.zip - C:\windows\system32\tar.exe -x -f pcre2-%PCRE2_VERSION%.zip || EXIT /b 1 -) -CD pcre2-%PCRE2_VERSION% -cmake -B build -DPCRE2_BUILD_PCRE2GREP=OFF || EXIT /b 1 -cmake --build build --target ALL_BUILD --config Release || EXIT /b 1 -@REM cmake --build build --target RUN_TESTS --config Release || EXIT /b 1 -cmake --build build --target INSTALL --config Release || EXIT /b 1 - @EXIT /b 0