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)