forked from boostorg/mqtt5
Make find_package() call optional to allow for boost submodule installations
This commit is contained in:
@ -21,7 +21,9 @@ target_include_directories(
|
|||||||
|
|
||||||
target_compile_features(async_mqtt5 INTERFACE cxx_std_17)
|
target_compile_features(async_mqtt5 INTERFACE cxx_std_17)
|
||||||
|
|
||||||
find_package(Boost 1.82 REQUIRED)
|
if (NOT ASYNC_MQTT5_SKIP_FIND_PACKAGE)
|
||||||
|
find_package(Boost 1.82 REQUIRED)
|
||||||
|
endif()
|
||||||
target_link_libraries(async_mqtt5
|
target_link_libraries(async_mqtt5
|
||||||
INTERFACE
|
INTERFACE
|
||||||
Boost::headers
|
Boost::headers
|
||||||
|
Reference in New Issue
Block a user