update boost on linux
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
# Generated by Boost 1.70.0
|
||||
|
||||
if(TARGET Boost::exception)
|
||||
return()
|
||||
endif()
|
||||
|
||||
message(STATUS "Found boost_exception ${boost_exception_VERSION} at ${boost_exception_DIR}")
|
||||
|
||||
# Compute the include and library directories relative to this file.
|
||||
get_filename_component(_BOOST_CMAKEDIR "${CMAKE_CURRENT_LIST_DIR}/../" ABSOLUTE)
|
||||
get_filename_component(_BOOST_INCLUDEDIR "${_BOOST_CMAKEDIR}/../../include/boost-1_70/" ABSOLUTE)
|
||||
get_filename_component(_BOOST_LIBDIR "${_BOOST_CMAKEDIR}/../" ABSOLUTE)
|
||||
|
||||
# Create imported target Boost::exception
|
||||
add_library(Boost::exception INTERFACE IMPORTED)
|
||||
|
||||
set_target_properties(Boost::exception PROPERTIES
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${_BOOST_INCLUDEDIR}"
|
||||
INTERFACE_COMPILE_DEFINITIONS "BOOST_ALL_NO_LIB"
|
||||
)
|
||||
Reference in New Issue
Block a user