mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Feature/CEC detection (#877)
* Add CEC functionality * Initial commit * removed libCEC from the system skip list Co-authored-by: Paulchen Panther <16664240+Paulchen-Panther@users.noreply.github.com>
This commit is contained in:
17
libsrc/cec/CMakeLists.txt
Normal file
17
libsrc/cec/CMakeLists.txt
Normal file
@@ -0,0 +1,17 @@
|
||||
# Define the current source locations
|
||||
find_package(CEC REQUIRED)
|
||||
|
||||
SET(CURRENT_HEADER_DIR ${CMAKE_SOURCE_DIR}/include/cec)
|
||||
SET(CURRENT_SOURCE_DIR ${CMAKE_SOURCE_DIR}/libsrc/cec)
|
||||
|
||||
FILE (GLOB CEC_SOURCES "${CURRENT_HEADER_DIR}/*.h" "${CURRENT_SOURCE_DIR}/*.h" "${CURRENT_SOURCE_DIR}/*.cpp")
|
||||
add_library(cechandler ${CEC_SOURCES})
|
||||
|
||||
include_directories(${CEC_INCLUDE_DIRS})
|
||||
|
||||
target_link_libraries(cechandler
|
||||
dl
|
||||
${CEC_LIBRARIES}
|
||||
Qt5::Core
|
||||
)
|
||||
|
Reference in New Issue
Block a user