forked from eclipse-cyclonedds/cyclonedds-cxx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
PackageConfig.cmake.in
33 lines (27 loc) · 929 Bytes
/
PackageConfig.cmake.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#
# Copyright(c) 2020 to 2021 ZettaScale Technology and others
#
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License v. 2.0 which is available at
# http://www.eclipse.org/legal/epl-2.0, or the Eclipse Distribution License
# v. 1.0 which is available at
# http://www.eclipse.org/org/documents/edl-v10.php.
#
# SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
#
@PACKAGE_INIT@
find_package(CycloneDDS REQUIRED)
if(@ENABLE_SHM@)
include(CMakeFindDependencyMacro)
find_dependency(iceoryx_binding_c)
endif()
if(@ENABLE_LEGACY@)
include(CMakeFindDependencyMacro)
find_dependency(Boost)
set(CYCLONEDDS_CXX_ENABLE_LEGACY @ENABLE_LEGACY@)
endif()
include("${CMAKE_CURRENT_LIST_DIR}/@[email protected]")
if(TARGET CycloneDDS-CXX::idlcxx)
include("${CMAKE_CURRENT_LIST_DIR}/idlcxx/Generate.cmake")
endif()
check_required_components("@PROJECT_NAME@")