File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,15 +8,9 @@ set(EXEC_NAME "${PROJECT_NAME}_${EXEC_NAME}")
88set (DOWNLOAD_DIR "${PROJECT_BINARY_DIR} /test_downloads" )
99file (MAKE_DIRECTORY "${DOWNLOAD_DIR} " )
1010
11- set (GREATEST_SHA256 "b3f89ecad2301c64c580f328cc03a74d92f4cd4bf42ab18d3d4bfb7b8be5b948" )
1211if (NOT CMAKE_SYSTEM_NAME STREQUAL "SunOS" )
13- file (DOWNLOAD "https://raw.githubusercontent.com/SamuelMarks/greatest/cmake-and-msvc /greatest.h"
12+ file (DOWNLOAD "https://raw.githubusercontent.com/SamuelMarks/greatest/master /greatest.h"
1413 "${DOWNLOAD_DIR} /greatest.h" )
15- file (SHA256 "${DOWNLOAD_DIR} /greatest.h" GREATEST_SHA256_FOUND )
16- if (NOT GREATEST_SHA256_FOUND STREQUAL GREATEST_SHA256)
17- message (FATAL_ERROR "SHA256 hash verification failed for \" ${DOWNLOAD_DIR} /greatest.h\"
18- \n\" ${GREATEST_SHA256_FOUND} \" != \" ${GREATEST_SHA256} \" " )
19- endif (NOT GREATEST_SHA256_FOUND STREQUAL GREATEST_SHA256 )
2014endif (NOT CMAKE_SYSTEM_NAME STREQUAL "SunOS" )
2115
2216#########
You can’t perform that action at this time.
0 commit comments