mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 04:59:00 +08:00
9 lines
426 B
Plaintext
9 lines
426 B
Plaintext
|
async-simple provides CMake targets:
|
||
|
|
||
|
find_package(async_simple CONFIG REQUIRED)
|
||
|
target_link_libraries(main PRIVATE async_simple::async_simple_static)
|
||
|
# Or you can use header-only version(async_simple::uthread is not allowed to use in this version)
|
||
|
target_link_libraries(main PRIVATE async_simple::async_simple_header_only)
|
||
|
# Or you can also use dynamic linkage:
|
||
|
target_link_libraries(main PRIVATE async_simple::async_simple)
|