From 5fcf446fec42f34087a5d2ef7506b04be93610df Mon Sep 17 00:00:00 2001 From: f4exb Date: Sat, 10 Feb 2018 22:46:22 +0100 Subject: [PATCH] Debian build: fixed libperseus build (2) --- CMakeLists.txt | 1 - plugins/samplesource/CMakeLists.txt | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4dd962a09..d414aabe2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -296,7 +296,6 @@ add_subdirectory(pluginssrv) if(LIBUSB_FOUND AND UNIX) add_subdirectory(fcdhid) add_subdirectory(fcdlib) - add_subdirectory(libperseus) endif(LIBUSB_FOUND AND UNIX) ############################################################################## diff --git a/plugins/samplesource/CMakeLists.txt b/plugins/samplesource/CMakeLists.txt index 902b6b58b..3bfb5c675 100644 --- a/plugins/samplesource/CMakeLists.txt +++ b/plugins/samplesource/CMakeLists.txt @@ -75,7 +75,7 @@ find_package(LibPerseus) if(LIBUSB_FOUND AND RX_SAMPLE_24BIT AND LIBPERSEUS_FOUND) message(STATUS "Add Persesus plugin") add_subdirectory(perseus) -endif(LIBUSB_FOUND AND LIBPERSEUS_FOUND) +endif(LIBUSB_FOUND AND RX_SAMPLE_24BIT AND LIBPERSEUS_FOUND) if (BUILD_DEBIAN) if (LIBNANOMSG_FOUND)