This is an automated email from the ASF dual-hosted git repository. cmcfarlen pushed a commit to branch 10.0.x in repository https://gitbox.apache.org/repos/asf/trafficserver.git
commit 82477dfda005289afc2af1d48767b3a404d0e1b6 Author: Damian Meden <[email protected]> AuthorDate: Mon Apr 22 17:32:28 2024 +0200 CMake. Fix yamlcpp version definition when an external yaml lib is set. (#11277) (cherry picked from commit 8219dffe09e1fea2038e8ca15c9c635042d057a8) --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5079a68b92..053a8c0206 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -339,7 +339,7 @@ set(HAVE_NCURSES_NCURSES_H ${CURSES_HAVE_NCURSES_NCURSES_H}) if(EXTERNAL_YAML_CPP) message(STATUS "Looking for external yaml-cpp") find_package(yaml-cpp "0.8.0" REQUIRED) - set(YAMLCPP_LIB_VERSION yaml-cpp_VERSION) + set(YAMLCPP_LIB_VERSION ${yaml-cpp_VERSION}) find_package_message( yaml-cpp "Found yaml-cpp: ${yaml-cpp_CONFIG} (found version \"${yaml-cpp_VERSION}\")" "${yaml-cpp_CONFIG}" )
