mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
Remove LibUDev from build (not needed after switch to shared libs)
Former-commit-id: 6b2045e4831e17c624383e19fbeec44846f3e8a2
This commit is contained in:
parent
fafed8fb09
commit
1b18c7151f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user