mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
c672ae6075
- JsonAPI available grabber fix - commented json config removed
17 lines
491 B
CMake
17 lines
491 B
CMake
# Define the current source locations
|
|
SET(CURRENT_HEADER_DIR ${CMAKE_SOURCE_DIR}/include/grabber)
|
|
SET(CURRENT_SOURCE_DIR ${CMAKE_SOURCE_DIR}/libsrc/grabber/mediafoundation)
|
|
|
|
FILE ( GLOB MF_SOURCES "${CURRENT_HEADER_DIR}/MF*.h" "${CURRENT_SOURCE_DIR}/*.h" "${CURRENT_SOURCE_DIR}/*.cpp" )
|
|
|
|
add_library(mf-grabber ${MF_SOURCES} )
|
|
|
|
target_link_libraries(mf-grabber
|
|
hyperion
|
|
${QT_LIBRARIES}
|
|
)
|
|
|
|
if(TURBOJPEG_FOUND)
|
|
target_link_libraries(mf-grabber ${TurboJPEG_LIBRARY})
|
|
endif(TURBOJPEG_FOUND)
|