If CONFIG and DEFAULT directories haven't been configured, make them point to ASSETS

This commit is contained in:
Jacek Jagosz 2021-07-25 14:09:47 +02:00
parent c58f95b79e
commit a07ad3e479

View File

@ -231,11 +231,11 @@ if(NOT SUNSHINE_ASSETS_DIR)
endif() endif()
if(NOT SUNSHINE_CONFIG_DIR) if(NOT SUNSHINE_CONFIG_DIR)
set(SUNSHINE_CONFIG_DIR "${CMAKE_CURRENT_SOURCE_DIR}/assets") set(SUNSHINE_CONFIG_DIR SUNSHINE_ASSETS_DIR)
endif() endif()
if(NOT SUNSHINE_DEFAULT_DIR) if(NOT SUNSHINE_DEFAULT_DIR)
set(SUNSHINE_CONFIG_DIR "${CMAKE_CURRENT_SOURCE_DIR}/assets") set(SUNSHINE_DEFAULT_DIR SUNSHINE_ASSETS_DIR)
endif() endif()
list(APPEND CBS_EXTERNAL_LIBRARIES list(APPEND CBS_EXTERNAL_LIBRARIES