boost_headers-config.cmake 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. # Generated by Boost 1.82.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 "/root/android-libs/lib/cmake")
  13. get_filename_component(_BOOST_CMAKEDIR_ORIGINAL "/root/android-libs/lib/cmake" REALPATH)
  14. if(_BOOST_CMAKEDIR STREQUAL _BOOST_CMAKEDIR_ORIGINAL)
  15. set(_BOOST_CMAKEDIR "/root/android-libs/lib/cmake")
  16. endif()
  17. unset(_BOOST_CMAKEDIR_ORIGINAL)
  18. endif()
  19. get_filename_component(_BOOST_INCLUDEDIR "${_BOOST_CMAKEDIR}/../../include/" ABSOLUTE)
  20. add_library(Boost::headers INTERFACE IMPORTED)
  21. set_target_properties(Boost::headers PROPERTIES
  22. INTERFACE_INCLUDE_DIRECTORIES "${_BOOST_INCLUDEDIR}"
  23. )
  24. unset(_BOOST_INCLUDEDIR)
  25. unset(_BOOST_CMAKEDIR)