summaryrefslogtreecommitdiff
path: root/vsomeipConfig.cmake.in
blob: 38ea7ae246c3006d1bf7186607c5916b919f1e18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Config file for the vSomeIP package, defines the following variables:
# Exports the following targets:
#   vsomeip - CMake target for vSomeIP
# Additionally, the following variables are defined:
#   VSOMEIP_LIBRARIES - list of libraries to link against, contains only
#                       "vsomeip"

# Compute paths
get_filename_component (VSOMEIP_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
# Legacy variable, no longer used but kept for compatibility
get_filename_component(VSOMEIP_INCLUDE_DIRS "" PATH)

# Our library dependencies (contains definitions for IMPORTED targets)
if (NOT TARGET vsomeip AND NOT vsomeip_BINARY_DIR)
    include ("${VSOMEIP_CMAKE_DIR}/vsomeipTargets.cmake")
endif ()

# These are IMPORTED targets created by vsomeipTargets.cmake
set (VSOMEIP_LIBRARIES vsomeip)