OCT 1. 更新依赖包
This commit is contained in:
parent
fbb857cff1
commit
2c9846300a
|
@ -77,6 +77,7 @@ FIND_PACKAGE(PkgConfig)
|
|||
|
||||
SET(COMMON_LIBS "")
|
||||
|
||||
CMAKE_POLICY(SET CMP0135 OLD)
|
||||
INCLUDE(./depend/third_libs.cmake)
|
||||
|
||||
IF (USED_JSON_VALIDATE)
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -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)
|
||||
|
|
Binary file not shown.
|
@ -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)
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue