mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
26 lines
484 B
CMake
26 lines
484 B
CMake
cmake_minimum_required(VERSION 3.5.0)
|
|
project(hyperion-osx)
|
|
|
|
add_executable(${PROJECT_NAME}
|
|
OsxWrapper.h
|
|
OsxWrapper.cpp
|
|
hyperion-osx.cpp
|
|
)
|
|
|
|
target_link_libraries(${PROJECT_NAME}
|
|
commandline
|
|
hyperion-utils
|
|
flatbufconnect
|
|
flatbuffers
|
|
osx-grabber
|
|
Qt${QT_VERSION_MAJOR}::Widgets
|
|
)
|
|
|
|
if(ENABLE_MDNS)
|
|
target_link_libraries(${PROJECT_NAME} mdns)
|
|
else()
|
|
target_link_libraries(${PROJECT_NAME} ssdp)
|
|
endif()
|
|
|
|
install (TARGETS ${PROJECT_NAME} DESTINATION "." COMPONENT "hyperion_osx")
|