Dep/Boost: Replace legacy boost include directories and linked library setup with CMake targets
This commit is contained in:
@@ -65,15 +65,13 @@ add_library(boost INTERFACE)
|
|||||||
|
|
||||||
target_link_libraries(boost
|
target_link_libraries(boost
|
||||||
INTERFACE
|
INTERFACE
|
||||||
${Boost_LIBRARIES})
|
Boost::filesystem
|
||||||
|
Boost::program_options
|
||||||
target_include_directories(boost
|
Boost::regex
|
||||||
INTERFACE
|
Boost::locale)
|
||||||
${Boost_INCLUDE_DIRS})
|
|
||||||
|
|
||||||
target_compile_definitions(boost
|
target_compile_definitions(boost
|
||||||
INTERFACE
|
INTERFACE
|
||||||
BOOST_ALL_NO_LIB
|
|
||||||
BOOST_CONFIG_SUPPRESS_OUTDATED_MESSAGE
|
BOOST_CONFIG_SUPPRESS_OUTDATED_MESSAGE
|
||||||
BOOST_ASIO_NO_DEPRECATED
|
BOOST_ASIO_NO_DEPRECATED
|
||||||
BOOST_BIND_NO_PLACEHOLDERS
|
BOOST_BIND_NO_PLACEHOLDERS
|
||||||
|
|||||||
Reference in New Issue
Block a user