From 1b18c7151f4ede6e89314117512db9f5ed9f4171 Mon Sep 17 00:00:00 2001 From: johan Date: Fri, 29 Nov 2013 17:45:28 +0100 Subject: [PATCH] Remove LibUDev from build (not needed after switch to shared libs) Former-commit-id: 6b2045e4831e17c624383e19fbeec44846f3e8a2 --- libsrc/hyperion/CMakeLists.txt | 15 --------------- 1 file changed, 15 deletions(-) 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)