mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
addff6f7ef
* BCM dynamic loading * cleanup * better handle start of dispmanx * set GrabberWrapper pointer to null on exit * Update DispmanxFrameGrabber.cpp
27 lines
689 B
CMake
27 lines
689 B
CMake
# Define the current source locations
|
|
|
|
SET(CURRENT_HEADER_DIR ${CMAKE_SOURCE_DIR}/include/api)
|
|
SET(CURRENT_SOURCE_DIR ${CMAKE_SOURCE_DIR}/libsrc/api)
|
|
|
|
FILE ( GLOB_RECURSE Api_SOURCES "${CURRENT_HEADER_DIR}/*.h" "${CURRENT_SOURCE_DIR}/*.h" "${CURRENT_SOURCE_DIR}/*.cpp" )
|
|
|
|
set(Api_RESOURCES ${CURRENT_SOURCE_DIR}/JSONRPC_schemas.qrc )
|
|
|
|
add_library(hyperion-api
|
|
${Api_SOURCES}
|
|
${Api_RESOURCES}
|
|
)
|
|
|
|
if(ENABLE_DX)
|
|
include_directories(${DIRECTX9_INCLUDE_DIRS})
|
|
target_link_libraries(hyperion-api ${DIRECTX9_LIBRARIES})
|
|
endif(ENABLE_DX)
|
|
|
|
target_link_libraries(hyperion-api
|
|
hyperion
|
|
hyperion-utils
|
|
Qt${QT_VERSION_MAJOR}::Core
|
|
Qt${QT_VERSION_MAJOR}::Gui
|
|
Qt${QT_VERSION_MAJOR}::Network
|
|
)
|