OCT 1. 更新依赖包

This commit is contained in:
HuangXin 2024-12-10 14:28:50 +08:00
parent fbb857cff1
commit 2c9846300a
7 changed files with 8 additions and 3 deletions

View File

@ -77,6 +77,7 @@ FIND_PACKAGE(PkgConfig)
SET(COMMON_LIBS "") SET(COMMON_LIBS "")
CMAKE_POLICY(SET CMP0135 OLD)
INCLUDE(./depend/third_libs.cmake) INCLUDE(./depend/third_libs.cmake)
IF (USED_JSON_VALIDATE) IF (USED_JSON_VALIDATE)

Binary file not shown.

Binary file not shown.

View File

@ -1,10 +1,12 @@
CMAKE_MINIMUM_REQUIRED(VERSION 3.14 FATAL_ERROR) CMAKE_MINIMUM_REQUIRED(VERSION 3.14 FATAL_ERROR)
CMAKE_POLICY(SET CMP0135 NEW)
INCLUDE(FetchContent) INCLUDE(FetchContent)
IF (BUILD_TESTING) IF (BUILD_TESTING)
FETCHCONTENT_DECLARE(doctest_framework FETCHCONTENT_DECLARE(doctest_framework
URL file://${CMAKE_SOURCE_DIR}/depend/doctest-2.4.11.tar.gz URL file://${CMAKE_SOURCE_DIR}/depend/doctest-2.4.11.tar.gz
URL_MD5 a457ba0e8c8f670bfd4aafaa3d9f5e4d) URL_MD5 17913db0ef2d0bc75376dfb0a2d8c230)
FETCHCONTENT_MAKEAVAILABLE(doctest_framework) FETCHCONTENT_MAKEAVAILABLE(doctest_framework)
FETCHCONTENT_GETPROPERTIES(doctest_framework) FETCHCONTENT_GETPROPERTIES(doctest_framework)

Binary file not shown.

View File

@ -1,4 +1,6 @@
CMAKE_MINIMUM_REQUIRED(VERSION 3.14 FATAL_ERROR) CMAKE_MINIMUM_REQUIRED(VERSION 3.14 FATAL_ERROR)
CMAKE_POLICY(SET CMP0135 NEW)
INCLUDE(FetchContent) INCLUDE(FetchContent)
PKG_SEARCH_MODULE(LIBCURL REQUIRED libcurl) PKG_SEARCH_MODULE(LIBCURL REQUIRED libcurl)
@ -43,13 +45,13 @@ ENDIF ()
IF (NOT LIBCONFIG_FOUND) IF (NOT LIBCONFIG_FOUND)
FETCHCONTENT_DECLARE(libconfig FETCHCONTENT_DECLARE(libconfig
URL file://${CMAKE_SOURCE_DIR}/depend/libconfig-1.7.3.tar.gz URL file://${CMAKE_SOURCE_DIR}/depend/libconfig-1.7.3.tar.gz
URL_MD5 8f96910eee26118258ac8d4cd128a0b2) URL_MD5 21ebfac0f7ed5a994e03e6a6101577e8)
ENDIF () ENDIF ()
IF (LIBZLOG STREQUAL "LIBZLOG-NOTFOUND") IF (LIBZLOG STREQUAL "LIBZLOG-NOTFOUND")
FETCHCONTENT_DECLARE(zlog FETCHCONTENT_DECLARE(zlog
URL file://${CMAKE_SOURCE_DIR}/depend/zlog-1.2.18.tar.gz URL file://${CMAKE_SOURCE_DIR}/depend/zlog-1.2.18.tar.gz
URL_MD5 5f99a30e61af3b62db4986e277f69cf9) URL_MD5 3fbac790d550b9d95fbd1312d674b9c5)
ENDIF () ENDIF ()
IF (NOT LIBUV_FOUND) IF (NOT LIBUV_FOUND)

Binary file not shown.