yaml-cpp-config.cmake.in 874 B

12345678910111213141516171819202122
  1. # - Config file for the yaml-cpp package
  2. # It defines the following variables
  3. # YAML_CPP_INCLUDE_DIR - include directory
  4. # YAML_CPP_LIBRARY_DIR - directory containing libraries
  5. # YAML_CPP_SHARED_LIBS_BUILT - whether we have built shared libraries or not
  6. # YAML_CPP_LIBRARIES - libraries to link against
  7. @PACKAGE_INIT@
  8. set_and_check(YAML_CPP_INCLUDE_DIR "@PACKAGE_CMAKE_INSTALL_INCLUDEDIR@")
  9. set_and_check(YAML_CPP_LIBRARY_DIR "@PACKAGE_CMAKE_INSTALL_LIBDIR@")
  10. # Are we building shared libraries?
  11. set(YAML_CPP_SHARED_LIBS_BUILT "@PACKAGE_YAML_BUILD_SHARED_LIBS@")
  12. # Our library dependencies (contains definitions for IMPORTED targets)
  13. include(@PACKAGE_CONFIG_EXPORT_DIR@/yaml-cpp-targets.cmake)
  14. # These are IMPORTED targets created by yaml-cpp-targets.cmake
  15. set(YAML_CPP_LIBRARIES "@EXPORT_TARGETS@")
  16. check_required_components(@EXPORT_TARGETS@)