From 288024013e5fdf3f425b20cbea9bd5048ac93bfc Mon Sep 17 00:00:00 2001 From: saipubw Date: Tue, 19 Mar 2024 11:36:25 +0800 Subject: [PATCH] Release v0.3.1 (#637) --- CMakeLists.txt | 2 +- cmake/install.cmake | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 95e037492..7dc203728 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.15) project(yaLanTingLibs - VERSION 0.3.0 + VERSION 0.3.1 DESCRIPTION "yaLanTingLibs" HOMEPAGE_URL "https://github.com/alibaba/yalantinglibs" LANGUAGES CXX diff --git a/cmake/install.cmake b/cmake/install.cmake index f6701fc7f..490f76769 100644 --- a/cmake/install.cmake +++ b/cmake/install.cmake @@ -1,5 +1,6 @@ message(STATUS "-------------YLT INSTALL SETTING------------") option(INSTALL_THIRDPARTY "Install thirdparty" ON) +option(INSTALL_THIRDPARTY_BY_PACKAGE_MANAGER "Install thirdparty by package manager" OFF) message(STATUS "INSTALL_THIRDPARTY: " ${INSTALL_THIRDPARTY}) option(INSTALL_INDEPENDENT_THIRDPARTY "Install independent thirdparty" ON) @@ -56,7 +57,7 @@ if (INSTALL_THIRDPARTY) $ ) endif() -elseif(VCPKG_INSTALL_THIRDPARTY) +elseif(INSTALL_THIRDPARTY_BY_PACKAGE_MANAGER) install(DIRECTORY "${yaLanTingLibs_SOURCE_DIR}/include/ylt/thirdparty/cinatra" DESTINATION include/ylt/thirdparty/cinatra) install(DIRECTORY "${yaLanTingLibs_SOURCE_DIR}/include/ylt/thirdparty/iguana" DESTINATION include/ylt/thirdparty/iguana) endif()