mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 13:21:37 +08:00
e3e495d65f
* [asio] Add cmake target * [asio] Export both asio and asio::asio * [asio] Also export include dir variable
7 lines
275 B
CMake
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}")
|