Debian Codegraph @

debian/patches/fix-cmake-interface

raw
1 From c7eec8e3230d495380a05aa6621d73bbd54a54a7 Mon Sep 17 00:00:00 2001
2 From: "A. Maitland Bottoms" <[email protected]>
3 Date: Wed, 4 Jan 2023 21:44:49 -0500
4 Subject: [PATCH 2/2] fix cmake interface Add /usr/include/sigmf to the include
5 file search path, so that applications following the README.md Usage will
6 work.
7
8 ---
9 CMakeLists.txt | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12 diff --git a/CMakeLists.txt b/CMakeLists.txt
13 index e41c82f..eb86722 100644
14 --- a/CMakeLists.txt
15 +++ b/CMakeLists.txt
16 @@ -146,7 +146,7 @@ set(LIBSIGMF_PREGEN_HEADERS "${CMAKE_CURRENT_SOURCE_DIR}/sigmf_protocols")
17 ########################################################################
18 add_library(libsigmf INTERFACE)
19 target_include_directories(libsigmf INTERFACE
20 - $<INSTALL_INTERFACE:include>
21 + $<INSTALL_INTERFACE:include/sigmf>
22 $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src>
23 $<INSTALL_INTERFACE:include/sigmf/fbs>
24 $<BUILD_INTERFACE:${LIBSIGMF_PREGEN_HEADERS}>
25 --
26 2.39.0
27