mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-29 11:41:36 +08:00
cba75f1aa0
* add target guard * add port-version * add version
10 lines
321 B
CMake
10 lines
321 B
CMake
include ("${CMAKE_CURRENT_LIST_DIR}/asio-targets.cmake")
|
|
|
|
if(NOT TARGET asio::asio)
|
|
add_library(asio::asio INTERFACE IMPORTED)
|
|
target_link_libraries(asio::asio INTERFACE asio)
|
|
endif()
|
|
|
|
get_target_property(_ASIO_INCLUDE_DIR asio INTERFACE_INCLUDE_DIRECTORIES)
|
|
set(ASIO_INCLUDE_DIR "${_ASIO_INCLUDE_DIR}")
|