mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
42c98da470
* Remove stretch, bionic, add lunar * Fix CEC CMakeList for Ubuntu 23.04 * Fix git version identification when run in docker and local code * Update SYSTEM_LIBS_SKIP list * Updates after Ubuntu Server 20.04, latest PI OS Light and CoreElec 20 * Update year * Skip List working with Fedora38 Server (x86) and libreElec 11 (x86) * Update platform tag handling * Show error, if ssl lib cannot be found * Update supported platforms * Script to install selected Pull Requests * Fix misspelled explanation + improve description * Correct run-id evaluation * Support python3 and python2 * Support to copy existing config for PR testing
20 lines
546 B
CMake
20 lines
546 B
CMake
# 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})
|
|
list(GET CEC_LIBRARIES 0 CEC_LIBRARIES)
|
|
add_definitions(-DCEC_LIBRARY="${CEC_LIBRARIES}")
|
|
|
|
include_directories(${CEC_INCLUDE_DIRS})
|
|
|
|
target_link_libraries(cechandler
|
|
Qt${QT_VERSION_MAJOR}::Core
|
|
${CMAKE_DL_LIBS}
|
|
)
|
|
|