OXIESEC PANEL
- Current Dir:
/
/
usr
/
local
/
share
/
cmake-3.26
/
Modules
/
ExternalProject
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
04/04/2023 07:10:49 PM
rwxr-xr-x
📄
RepositoryInfo.txt.in
303 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
cfgcmd.txt.in
12 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
download.cmake.in
4.07 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
extractfile.cmake.in
1.68 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
gitclone.cmake.in
2.19 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
gitupdate.cmake.in
9.93 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
hgclone.cmake.in
1.36 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
mkdirs.cmake.in
558 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
verify.cmake.in
904 bytes
04/04/2023 07:07:49 PM
rw-r--r--
Editing: verify.cmake.in
Close
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying # file Copyright.txt or https://cmake.org/licensing for details. cmake_minimum_required(VERSION 3.5) if("@LOCAL@" STREQUAL "") message(FATAL_ERROR "LOCAL can't be empty") endif() if(NOT EXISTS "@LOCAL@") message(FATAL_ERROR "File not found: @LOCAL@") endif() if("@ALGO@" STREQUAL "") message(WARNING "File will not be verified since no URL_HASH specified") return() endif() if("@EXPECT_VALUE@" STREQUAL "") message(FATAL_ERROR "EXPECT_VALUE can't be empty") endif() message(STATUS "verifying file... file='@LOCAL@'") file("@ALGO@" "@LOCAL@" actual_value) if(NOT "${actual_value}" STREQUAL "@EXPECT_VALUE@") message(FATAL_ERROR "error: @ALGO@ hash of @LOCAL@ does not match expected value expected: '@EXPECT_VALUE@' actual: '${actual_value}' ") endif() message(STATUS "verifying file... done")