123456789101112131415161718192021222324252627282930313233343536 |
- # Generated by Boost 1.76.0
- if(TARGET Boost::exception)
- return()
- endif()
- if(Boost_VERBOSE OR Boost_DEBUG)
- message(STATUS "Found boost_exception ${boost_exception_VERSION} at ${boost_exception_DIR}")
- endif()
- mark_as_advanced(boost_exception_DIR)
- # Compute the include and library directories relative to this file.
- get_filename_component(_BOOST_CMAKEDIR "${CMAKE_CURRENT_LIST_DIR}/../" REALPATH)
- # If the computed and the original directories are symlink-equivalent, use original
- if(EXISTS "C:/Program Files/Boost/lib/cmake")
- get_filename_component(_BOOST_CMAKEDIR_ORIGINAL "C:/Program Files/Boost/lib/cmake" REALPATH)
- if(_BOOST_CMAKEDIR STREQUAL _BOOST_CMAKEDIR_ORIGINAL)
- set(_BOOST_CMAKEDIR "C:/Program Files/Boost/lib/cmake")
- endif()
- unset(_BOOST_CMAKEDIR_ORIGINAL)
- endif()
- get_filename_component(_BOOST_INCLUDEDIR "${_BOOST_CMAKEDIR}/../../include/boost-1_76/" ABSOLUTE)
- add_library(Boost::exception INTERFACE IMPORTED)
- set_target_properties(Boost::exception PROPERTIES
- INTERFACE_INCLUDE_DIRECTORIES "${_BOOST_INCLUDEDIR}"
- INTERFACE_COMPILE_DEFINITIONS "BOOST_ALL_NO_LIB"
- )
- unset(_BOOST_INCLUDEDIR)
- unset(_BOOST_CMAKEDIR)
|