Remove LibUDev from build (not needed after switch to shared libs)

Former-commit-id: 6b2045e4831e17c624383e19fbeec44846f3e8a2
This commit is contained in:
johan 2013-11-29 17:45:28 +01:00
parent fafed8fb09
commit 1b18c7151f

View File

@ -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)