From 4f780ead9feb3f3a377a3d281d2369b457ad5dbe Mon Sep 17 00:00:00 2001 From: Dickens Date: Wed, 21 Jun 2023 20:53:18 +0800 Subject: [PATCH] 1.Disable parse tools, 2. Disable YAML_CPP_BUILD_CONTRIB --- .gitignore | 2 ++ CMakeLists.txt | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 2f9d10f..0b81d3b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ build/ +cmake-build-*/ /tags /bazel-* +.idea diff --git a/CMakeLists.txt b/CMakeLists.txt index d4e03a9..df8f627 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,8 +20,8 @@ include(CheckCXXCompilerFlag) include(GNUInstallDirs) include(CTest) -option(YAML_CPP_BUILD_CONTRIB "Enable yaml-cpp contrib in library" ON) -option(YAML_CPP_BUILD_TOOLS "Enable parse tools" ON) +option(YAML_CPP_BUILD_CONTRIB "Enable yaml-cpp contrib in library" OFF) +option(YAML_CPP_BUILD_TOOLS "Enable parse tools" OFF) option(YAML_BUILD_SHARED_LIBS "Build yaml-cpp shared library" ${BUILD_SHARED_LIBS}) option(YAML_CPP_INSTALL "Enable generation of yaml-cpp install targets" ${YAML_CPP_MAIN_PROJECT}) option(YAML_CPP_FORMAT_SOURCE "Format source" ON)