hyperion.ng/libsrc/hyperion/CMakeLists.txt

30 lines
646 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)
include_directories(
${CMAKE_CURRENT_BINARY_DIR}/../../libsrc/flatbufserver
)
FILE ( GLOB Hyperion_SOURCES "${CURRENT_HEADER_DIR}/*.h" "${CURRENT_SOURCE_DIR}/*.h" "${CURRENT_SOURCE_DIR}/*.cpp" )
2017-10-13 00:06:31 +02:00
SET(Hyperion_RESOURCES ${CURRENT_SOURCE_DIR}/resource.qrc)
add_library(hyperion
${Hyperion_SOURCES}
2017-10-13 00:06:31 +02:00
${Hyperion_RESOURCES}
)
target_link_libraries(hyperion
blackborder
hyperion-utils
flatbufserver
flatbuffers
leddevice
bonjour
boblightserver
effectengine
${QT_LIBRARIES}
)