summaryrefslogtreecommitdiff
path: root/cmake/CMakeLists.txt
diff options
context:
space:
mode:
authorSebastian Lipponer <mail@sebastianlipponer.de>2021-09-14 03:59:54 +0200
committerGitHub <noreply@github.com>2021-09-14 10:59:54 +0900
commit4a82545662d7d9d9b54be7393c382a4d1759daef (patch)
tree0f291ff03cf6c6681e42683e859067f03993d88c /cmake/CMakeLists.txt
parentfd70ae43f25c1737419a3a9912855a3116497815 (diff)
downloadDLT-daemon-4a82545662d7d9d9b54be7393c382a4d1759daef.tar.gz
libdlt: Add legacy include path in exported CMake config file (#327)
Previously the generated .pc file was changed to export an additional include path such that '#include <dlt.h>' and '#include <dlt/dlt.h>' can be used. However the exported CMake config file only supports the latter include statement. Consequently code that uses the other legacy include statement does not compile with the exported CMake config file. This change fixes this inconsistency. It lets users compile existing code with either the pkg-config .pc file or the CMake config file and avoids code clutter that is currently necessary to make this work. Signed-off-by: Sebastian Lipponer <mail@sebastianlipponer.de>
Diffstat (limited to 'cmake/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions