diff --git a/CMakeLists.txt b/CMakeLists.txt index 2e3f511..ddb6de5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -77,6 +77,7 @@ FIND_PACKAGE(PkgConfig) SET(COMMON_LIBS "") +CMAKE_POLICY(SET CMP0135 OLD) INCLUDE(./depend/third_libs.cmake) IF (USED_JSON_VALIDATE) diff --git a/depend/doctest-2.4.11.tar.gz b/depend/doctest-2.4.11.tar.gz index 7108c13..c60d39a 100644 Binary files a/depend/doctest-2.4.11.tar.gz and b/depend/doctest-2.4.11.tar.gz differ diff --git a/depend/doctest-2.4.9.tar.gz b/depend/doctest-2.4.9.tar.gz deleted file mode 100644 index 306f10c..0000000 Binary files a/depend/doctest-2.4.9.tar.gz and /dev/null differ diff --git a/depend/doctest_framework.cmake b/depend/doctest_framework.cmake index c54a7d9..6b7a60e 100644 --- a/depend/doctest_framework.cmake +++ b/depend/doctest_framework.cmake @@ -1,10 +1,12 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.14 FATAL_ERROR) +CMAKE_POLICY(SET CMP0135 NEW) + INCLUDE(FetchContent) IF (BUILD_TESTING) FETCHCONTENT_DECLARE(doctest_framework URL file://${CMAKE_SOURCE_DIR}/depend/doctest-2.4.11.tar.gz - URL_MD5 a457ba0e8c8f670bfd4aafaa3d9f5e4d) + URL_MD5 17913db0ef2d0bc75376dfb0a2d8c230) FETCHCONTENT_MAKEAVAILABLE(doctest_framework) FETCHCONTENT_GETPROPERTIES(doctest_framework) diff --git a/depend/libconfig-1.7.3.tar.gz b/depend/libconfig-1.7.3.tar.gz index f077a54..23b468d 100644 Binary files a/depend/libconfig-1.7.3.tar.gz and b/depend/libconfig-1.7.3.tar.gz differ diff --git a/depend/third_libs.cmake b/depend/third_libs.cmake index 517e38e..cd3ffab 100644 --- a/depend/third_libs.cmake +++ b/depend/third_libs.cmake @@ -1,4 +1,6 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.14 FATAL_ERROR) +CMAKE_POLICY(SET CMP0135 NEW) + INCLUDE(FetchContent) PKG_SEARCH_MODULE(LIBCURL REQUIRED libcurl) @@ -43,13 +45,13 @@ ENDIF () IF (NOT LIBCONFIG_FOUND) FETCHCONTENT_DECLARE(libconfig URL file://${CMAKE_SOURCE_DIR}/depend/libconfig-1.7.3.tar.gz - URL_MD5 8f96910eee26118258ac8d4cd128a0b2) + URL_MD5 21ebfac0f7ed5a994e03e6a6101577e8) ENDIF () IF (LIBZLOG STREQUAL "LIBZLOG-NOTFOUND") FETCHCONTENT_DECLARE(zlog URL file://${CMAKE_SOURCE_DIR}/depend/zlog-1.2.18.tar.gz - URL_MD5 5f99a30e61af3b62db4986e277f69cf9) + URL_MD5 3fbac790d550b9d95fbd1312d674b9c5) ENDIF () IF (NOT LIBUV_FOUND) diff --git a/depend/zlog-1.2.18.tar.gz b/depend/zlog-1.2.18.tar.gz index 949e799..9a4da4f 100644 Binary files a/depend/zlog-1.2.18.tar.gz and b/depend/zlog-1.2.18.tar.gz differ