File tree Expand file tree Collapse file tree 2 files changed +42
-0
lines changed Expand file tree Collapse file tree 2 files changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ #
2+ # Copyright (C) 2023 Swift Navigation Inc.
3+ # Contact: Swift Navigation <[email protected] > 4+ #
5+ # This source is subject to the license found in the file 'LICENSE' which must
6+ # be be distributed together with this source. All other rights reserved.
7+ #
8+ # THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
9+ # EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
10+ # WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
11+ #
12+
13+ if (TARGET asio::asio)
14+ return ()
15+ endif ()
16+
17+ add_library (asio_asio INTERFACE )
18+ add_library (asio::asio ALIAS asio_asio)
19+
20+ target_include_directories (asio_asio
21+ SYSTEM INTERFACE
22+ ${PROJECT_SOURCE_DIR} /third_party/asio/asio/include
23+ )
Original file line number Diff line number Diff line change 1+ #
2+ # Copyright (C) 2023 Swift Navigation Inc.
3+ # Contact: Swift Navigation <[email protected] > 4+ #
5+ # This source is subject to the license found in the file 'LICENSE' which must
6+ # be be distributed together with this source. All other rights reserved.
7+ #
8+ # THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
9+ # EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
10+ # WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
11+ #
12+
13+ include ("GenericFindDependency" )
14+
15+ GenericFindDependency(
16+ TARGET asio-grpc::asio-grpc-standalone-asio
17+ SOURCE_DIR asio-grpc
18+ SYSTEM_INCLUDES
19+ )
You can’t perform that action at this time.
0 commit comments