From 99d3b431cec81593d2b1c60643734dc290036932 Mon Sep 17 00:00:00 2001 From: Tom Mason Date: Sat, 19 Aug 2017 15:19:19 +0100 Subject: [PATCH] workaround for nasty osx linker bug in libtomcrypt see https://github.com/ruslo/hunter/pull/877#issuecomment-319945897 --- cmake/configs/default.cmake | 2 +- cmake/projects/tomcrypt/hunter.cmake | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/cmake/configs/default.cmake b/cmake/configs/default.cmake index 12fd0d44a55..67a3ce0d675 100644 --- a/cmake/configs/default.cmake +++ b/cmake/configs/default.cmake @@ -113,7 +113,7 @@ hunter_config(Sugar VERSION 1.2.2) hunter_config(SuiteSparse VERSION 4.5.1-p0) hunter_config(TIFF VERSION 4.0.2-p3) hunter_config(tommath VERSION 1.0-p2) -hunter_config(tomcrypt VERSION 1.17-p2) +hunter_config(tomcrypt VERSION 1.17-p3) hunter_config(WTL VERSION 9.1.5321) hunter_config(WDC VERSION 1.1.0) hunter_config(Washer VERSION 0.1.2) diff --git a/cmake/projects/tomcrypt/hunter.cmake b/cmake/projects/tomcrypt/hunter.cmake index e01d9410994..d2d87000a63 100644 --- a/cmake/projects/tomcrypt/hunter.cmake +++ b/cmake/projects/tomcrypt/hunter.cmake @@ -31,6 +31,17 @@ hunter_add_version( 90a3796bddd319fe12529d4b58e2ab23c15b7f1b ) +hunter_add_version( + PACKAGE_NAME + tomcrypt + VERSION + "1.17-p3" + URL + "https://github.com/hunter-packages/libtomcrypt/archive/1.17-p3.tar.gz" + SHA1 + 69b882eff5bf69a5a4e0e9169cc9b9c0ea5b9d71 +) + # Pick a download scheme hunter_pick_scheme(DEFAULT url_sha1_cmake) # use scheme for cmake projects