Auto update
This commit is contained in:
parent
642312f996
commit
6672fa19bd
4907 changed files with 206456 additions and 171700 deletions
|
|
@ -7,7 +7,7 @@
|
|||
# PACKAGE_VERSION_COMPATIBLE if the current version is >= requested version.
|
||||
# The variable CVF_VERSION must be set before calling configure_file().
|
||||
|
||||
set(PACKAGE_VERSION "0.8.0")
|
||||
set(PACKAGE_VERSION "0.9.0")
|
||||
|
||||
if (PACKAGE_FIND_VERSION_RANGE)
|
||||
# Package version must be in the requested version range
|
||||
|
|
|
|||
|
|
@ -35,12 +35,23 @@ set_and_check(YAML_CPP_INCLUDE_DIR "${PACKAGE_PREFIX_DIR}/include")
|
|||
set_and_check(YAML_CPP_LIBRARY_DIR "${PACKAGE_PREFIX_DIR}/lib")
|
||||
|
||||
# Are we building shared libraries?
|
||||
set(YAML_CPP_SHARED_LIBS_BUILT "${PACKAGE_PREFIX_DIR}/OFF")
|
||||
set(YAML_CPP_SHARED_LIBS_BUILT OFF)
|
||||
|
||||
# Our library dependencies (contains definitions for IMPORTED targets)
|
||||
include(${PACKAGE_PREFIX_DIR}/lib/cmake/yaml-cpp/yaml-cpp-targets.cmake)
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/yaml-cpp-targets.cmake")
|
||||
|
||||
# These are IMPORTED targets created by yaml-cpp-targets.cmake
|
||||
set(YAML_CPP_LIBRARIES "yaml-cpp")
|
||||
set(YAML_CPP_LIBRARIES "yaml-cpp::yaml-cpp")
|
||||
|
||||
# Protect against multiple inclusion, which would fail when already imported targets are added once more.
|
||||
if(NOT TARGET yaml-cpp)
|
||||
add_library(yaml-cpp INTERFACE IMPORTED)
|
||||
target_link_libraries(yaml-cpp INTERFACE yaml-cpp::yaml-cpp)
|
||||
if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.17)
|
||||
set_target_properties(yaml-cpp PROPERTIES
|
||||
DEPRECATION "The target yaml-cpp is deprecated and will be removed in version 0.10.0. Use the yaml-cpp::yaml-cpp target instead."
|
||||
)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
check_required_components(yaml-cpp)
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue