mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
hidapi added as dependency library
Former-commit-id: 067d8ed87d0e416fb8518e05344597a00fc263c2
This commit is contained in:
@@ -3,7 +3,14 @@
|
||||
SET(CURRENT_HEADER_DIR ${CMAKE_SOURCE_DIR}/include/hyperion)
|
||||
SET(CURRENT_SOURCE_DIR ${CMAKE_SOURCE_DIR}/libsrc/hyperion)
|
||||
|
||||
include_directories(${LIBUSB_1_INCLUDE_DIRS})
|
||||
#add libusb and pthreads (required for the Lighpack usb device)
|
||||
find_package(UDev REQUIRED)
|
||||
find_package(libusb-1.0 REQUIRED)
|
||||
find_package(Threads REQUIRED)
|
||||
|
||||
include_directories(
|
||||
${UDEV_INCLUDE_DIR}
|
||||
${LIBUSB_1_INCLUDE_DIRS})
|
||||
|
||||
# Group the headers that go through the MOC compiler
|
||||
SET(Hyperion_QT_HEADERS
|
||||
@@ -79,5 +86,6 @@ target_link_libraries(hyperion
|
||||
hyperion-utils
|
||||
serialport
|
||||
${QT_LIBRARIES}
|
||||
${LIBUSB_1_LIBRARIES}
|
||||
${CMAKE_THREAD_LIBS_INIT})
|
||||
${LIBUSB_1_LIBRARIES} #apt-get install libusb-1.0-0-dev
|
||||
${CMAKE_THREAD_LIBS_INIT}
|
||||
${UDEV_LIBRARIES}) # apt-get install libudev-dev
|
||||
|
Reference in New Issue
Block a user