Skip to content

Commit

Permalink
external cmocka: It seems that the git repo doesn't allow downloads a…
Browse files Browse the repository at this point in the history
…nymore, so try the tar
  • Loading branch information
imbillow committed Jun 10, 2024
1 parent f0e1aeb commit a2040c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -896,9 +896,9 @@ if(CAPSTONE_BUILD_CSTEST)
set(CMOCKA_LIB_DIR ${CMAKE_CURRENT_BINARY_DIR}/extern/src/cmocka_ext-build/src/)
ExternalProject_Add(cmocka_ext
PREFIX extern
GIT_REPOSITORY "https://git.cryptomilk.org/projects/cmocka.git"
GIT_TAG "origin/stable-1.1"
GIT_SHALLOW true
URL https://cmocka.org/files/1.1/cmocka-1.1.7.tar.xz
URL_HASH SHA256=810570eb0b8d64804331f82b29ff47c790ce9cd6b163e98d47a4807047ecad82
DOWNLOAD_EXTRACT_TIMESTAMP false
CONFIGURE_COMMAND cmake -DBUILD_SHARED_LIBS=OFF ../cmocka_ext/
BUILD_BYPRODUCTS ${CMOCKA_LIB_DIR}/libcmocka.a
BUILD_COMMAND cmake --build . --config Release
Expand Down

0 comments on commit a2040c8

Please sign in to comment.