vcpkg/ports/asio/asio-config.cmake
Helco e3e495d65f [asio] Add cmake target (#6751)
* [asio] Add cmake target

* [asio] Export both asio and asio::asio

* [asio] Also export include dir variable
2019-06-04 16:01:27 -07:00

7 lines
275 B
CMake

include ("${CMAKE_CURRENT_LIST_DIR}/asio-targets.cmake")
add_library(asio::asio INTERFACE IMPORTED)
target_link_libraries(asio::asio INTERFACE asio)
get_target_property(_ASIO_INCLUDE_DIR asio INTERFACE_INCLUDE_DIRECTORIES)
set(ASIO_INCLUDE_DIR "${_ASIO_INCLUDE_DIR}")