boost_headers-config.cmake 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. # Generated by Boost 1.76.0
  2. if(TARGET Boost::headers)
  3. return()
  4. endif()
  5. if(Boost_VERBOSE OR Boost_DEBUG)
  6. message(STATUS "Found boost_headers ${boost_headers_VERSION} at ${boost_headers_DIR}")
  7. endif()
  8. mark_as_advanced(boost_headers_DIR)
  9. # Compute the include and library directories relative to this file.
  10. get_filename_component(_BOOST_CMAKEDIR "${CMAKE_CURRENT_LIST_DIR}/../" REALPATH)
  11. # If the computed and the original directories are symlink-equivalent, use original
  12. if(EXISTS "C:/Program Files/Boost/lib/cmake")
  13. get_filename_component(_BOOST_CMAKEDIR_ORIGINAL "C:/Program Files/Boost/lib/cmake" REALPATH)
  14. if(_BOOST_CMAKEDIR STREQUAL _BOOST_CMAKEDIR_ORIGINAL)
  15. set(_BOOST_CMAKEDIR "C:/Program Files/Boost/lib/cmake")
  16. endif()
  17. unset(_BOOST_CMAKEDIR_ORIGINAL)
  18. endif()
  19. get_filename_component(_BOOST_INCLUDEDIR "${_BOOST_CMAKEDIR}/../../include/boost-1_76/" ABSOLUTE)
  20. add_library(Boost::headers INTERFACE IMPORTED)
  21. set_target_properties(Boost::headers PROPERTIES
  22. INTERFACE_INCLUDE_DIRECTORIES "${_BOOST_INCLUDEDIR}"
  23. INTERFACE_COMPILE_DEFINITIONS "BOOST_ALL_NO_LIB"
  24. )
  25. unset(_BOOST_INCLUDEDIR)
  26. unset(_BOOST_CMAKEDIR)