Skip to content

Commit 5ffee46

Browse files
authored
Merge pull request #1682 from kkkzbh/cmake-reuse-asio-target
cmake: reuse existing asio target if present
2 parents 9082d76 + 7f20bea commit 5ffee46

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cmake/import_standalone_asio.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
# import_standalone_asio([TAG github-tag] VERSION [version-stirng])
99
#
1010
function(import_standalone_asio)
11+
if(TARGET asio)
12+
message(STATUS "stdexec: reusing existing asio target")
13+
return()
14+
endif()
1115
set(options "")
1216
set(args TAG VERSION)
1317
set(multi_args "")

0 commit comments

Comments
 (0)