refactor(cmake): split CMakeLists into modules (#1587)

This commit is contained in:
ReenigneArcher
2023-09-04 20:16:30 -04:00
committed by GitHub
parent 9543bc77d8
commit 92b4eeee55
41 changed files with 1240 additions and 964 deletions

View File

@@ -0,0 +1,9 @@
# unix specific compile definitions
# put anything here that applies to both linux and macos
list(APPEND SUNSHINE_EXTERNAL_LIBRARIES Boost::log)
# add install prefix to assets path if not already there
if(NOT SUNSHINE_ASSETS_DIR MATCHES "^${CMAKE_INSTALL_PREFIX}")
set(SUNSHINE_ASSETS_DIR "${CMAKE_INSTALL_PREFIX}/${SUNSHINE_ASSETS_DIR}")
endif()