diff --git a/libsrc/hyperion/CMakeLists.txt b/libsrc/hyperion/CMakeLists.txt index e44a68b6..9dabba7b 100644 --- a/libsrc/hyperion/CMakeLists.txt +++ b/libsrc/hyperion/CMakeLists.txt @@ -11,15 +11,6 @@ include_directories( ../../include/hidapi ${LIBUSB_1_INCLUDE_DIRS}) # for Lightpack device -# set the build options -option (LIBUDEV_REQUIRED "Add libudev to the build (needed on Ubuntu 13.10, but gives errors when added on the RPi) :-S" OFF) -message(STATUS "LIBUDEV_REQUIRED = " ${LIBUDEV_REQUIRED}) - -if (LIBUDEV_REQUIRED) - find_package(UDev REQUIRED) - include_directories(${UDEV_INCLUDE_DIR}) -endif (LIBUDEV_REQUIRED) - # Group the headers that go through the MOC compiler SET(Hyperion_QT_HEADERS ${CURRENT_HEADER_DIR}/Hyperion.h @@ -98,9 +89,3 @@ target_link_libraries(hyperion ${CMAKE_THREAD_LIBS_INIT} ${QT_LIBRARIES} ) - -if (LIBUDEV_REQUIRED) - target_link_libraries(hyperion - ${UDEV_LIBRARIES} # apt-get install libudev-dev - ) -endif (LIBUDEV_REQUIRED)