hyperion.ng/libsrc/hyperion/CMakeLists.txt

23 lines
567 B
CMake
Raw Normal View History

# Define the current source locations
SET(CURRENT_HEADER_DIR ${CMAKE_SOURCE_DIR}/include/hyperion)
SET(CURRENT_SOURCE_DIR ${CMAKE_SOURCE_DIR}/libsrc/hyperion)
FILE ( GLOB Hyperion_SOURCES "${CURRENT_HEADER_DIR}/*.h" "${CURRENT_SOURCE_DIR}/*.h" "${CURRENT_SOURCE_DIR}/*.cpp" )
QT5_ADD_RESOURCES(Hyperion_RESOURCES_RCC ${CURRENT_SOURCE_DIR}/resource.qrc OPTIONS "-no-compress")
add_library(hyperion
${Hyperion_SOURCES}
${Hyperion_RESOURCES_RCC}
)
target_link_libraries(hyperion
blackborder
hyperion-utils
leddevice
bonjour
effectengine
${QT_LIBRARIES}
)