build: optionally static link boost (#2628)

This commit is contained in:
ReenigneArcher 2024-06-14 17:37:46 -04:00 committed by GitHub
commit ebc41acf98
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
30 changed files with 194 additions and 134 deletions

View file

@ -15,6 +15,8 @@ option(SUNSHINE_REQUIRE_TRAY "Require system tray icon. Fail the build if tray r
option(SUNSHINE_SYSTEM_WAYLAND_PROTOCOLS "Use system installation of wayland-protocols rather than the submodule." OFF)
option(BOOST_USE_STATIC "Use static boost libraries." ON)
option(CUDA_INHERIT_COMPILE_OPTIONS
"When building CUDA code, inherit compile options from the the main project. You may want to disable this if
your IDE throws errors about unknown flags after running cmake." ON)
@ -24,7 +26,7 @@ if(UNIX)
"Enable a Homebrew build." OFF)
option(SUNSHINE_CONFIGURE_HOMEBREW
"Configure Homebrew formula. Recommended to use with SUNSHINE_CONFIGURE_ONLY" OFF)
endif ()
endif()
if(APPLE)
option(SUNSHINE_CONFIGURE_PORTFILE