diff options
author | Lutz Bichler <Lutz.Bichler@bmw.de> | 2020-02-12 13:04:15 +0100 |
---|---|---|
committer | Lutz Bichler <Lutz.Bichler@bmw.de> | 2020-02-12 13:04:15 +0100 |
commit | 8371cdca9463a75220c4de92b47c8df9d3bbe346 (patch) | |
tree | 16b4bf73c284b026b0ac032171110dafd1752196 /vsomeip3Config.cmake.in | |
parent | ee44d19e0a3773adcda3bace073c66e334a3e6a7 (diff) | |
download | vSomeIP-8371cdca9463a75220c4de92b47c8df9d3bbe346.tar.gz |
vsomeip 3.1.7.13.1.7.1
Diffstat (limited to 'vsomeip3Config.cmake.in')
-rw-r--r-- | vsomeip3Config.cmake.in | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/vsomeip3Config.cmake.in b/vsomeip3Config.cmake.in new file mode 100644 index 0000000..d689970 --- /dev/null +++ b/vsomeip3Config.cmake.in @@ -0,0 +1,19 @@ +# Config file for the vSomeIP package, defines the following variables: +# Exports the following targets: +# vsomeip3 - CMake target for vSomeIP +# Additionally, the following variables are defined: +# VSOMEIP_LIBRARIES - list of libraries to link against, contains only +# "vsomeip3" + +# 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}/vsomeip3Targets.cmake") +endif () + +# These are IMPORTED targets created by vsomeipTargets.cmake +set (VSOMEIP_LIBRARIES vsomeip3) |