build(linux): add homebrew support (#2667)

This commit is contained in:
ReenigneArcher 2024-06-12 15:58:25 -04:00 committed by GitHub
commit f68de7da93
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 148 additions and 36 deletions

View file

@ -107,6 +107,11 @@ list(REMOVE_ITEM SUNSHINE_SOURCES ${CMAKE_SOURCE_DIR}/src/main.cpp)
add_executable(${PROJECT_NAME}
${TEST_SOURCES}
${SUNSHINE_SOURCES})
foreach(dep ${SUNSHINE_TARGET_DEPENDENCIES})
add_dependencies(${PROJECT_NAME} ${dep}) # compile these before sunshine
endforeach()
set_target_properties(${PROJECT_NAME} PROPERTIES CXX_STANDARD 20)
target_link_libraries(${PROJECT_NAME}
${SUNSHINE_EXTERNAL_LIBRARIES}