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")