mirror of
https://github.com/PDB-REDO/dssp.git
synced 2026-06-04 13:44:21 +08:00
Try again
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user