diff options
author | Thierry Bultel <thierry.bultel@iot.bzh> | 2018-06-15 08:52:47 +0200 |
---|---|---|
committer | Thierry Bultel <thierry.bultel@iot.bzh> | 2018-07-17 15:21:27 +0200 |
commit | 17036bf6243adf1d699135e29f86c945ce11b3e8 (patch) | |
tree | 75b1ca1467287d980eac6c4dac1fa6909237b8e5 | |
parent | 2bbcbda9058e83da3a90846b502671e28ba758f2 (diff) |
cmake: added missing dependency to libusb-1.0guppy_6.90.0guppy/6.90.0flounder_5.99.6flounder_5.99.5flounder_5.99.4flounder_5.99.3flounder_5.99.2flounder/5.99.6flounder/5.99.5flounder/5.99.4flounder/5.99.3flounder/5.99.26.90.05.99.65.99.55.99.45.99.35.99.2
The build needs libusb-1.0. Everything foes right when building
for Yocto, that already and likely has the needed things.
Issue seen when building for a linux host.
The missing check did not point out the need for libusb-1.0-devel
Change-Id: I7440e2d9ca21232d11e5cabafc79b383092e8890
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
-rw-r--r-- | binding/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/binding/CMakeLists.txt b/binding/CMakeLists.txt index f4f58f6..20c8a50 100644 --- a/binding/CMakeLists.txt +++ b/binding/CMakeLists.txt @@ -65,6 +65,7 @@ PROJECT_TARGET_ADD(rtl_fm_helper) endif() PKG_CHECK_MODULES(helper_RTLSDR REQUIRED librtlsdr) + PKG_CHECK_MODULES(helper_LIBUSB REQUIRED libusb-1.0) add_executable(${TARGET_NAME} ${helper_SOURCES}) @@ -75,4 +76,4 @@ PROJECT_TARGET_ADD(rtl_fm_helper) TARGET_COMPILE_OPTIONS(${TARGET_NAME} PUBLIC ${helper_SOUND_CFLAGS}) TARGET_LINK_LIBRARIES(${TARGET_NAME} - ${helper_RTLSDR_LIBRARIES} ${helper_SOUND_LIBRARIES} ${link_libraries} m) + ${helper_RTLSDR_LIBRARIES} ${helper_LIBUSB_LIBRARIES} ${helper_SOUND_LIBRARIES} ${link_libraries} m) |