From a07ad3e4791a189511a01df5aef33555f1ec41b8 Mon Sep 17 00:00:00 2001 From: Jacek Jagosz Date: Sun, 25 Jul 2021 14:09:47 +0200 Subject: [PATCH] If CONFIG and DEFAULT directories haven't been configured, make them point to ASSETS --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d718c697..2c625841 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -231,11 +231,11 @@ if(NOT SUNSHINE_ASSETS_DIR) endif() if(NOT SUNSHINE_CONFIG_DIR) - set(SUNSHINE_CONFIG_DIR "${CMAKE_CURRENT_SOURCE_DIR}/assets") + set(SUNSHINE_CONFIG_DIR SUNSHINE_ASSETS_DIR) endif() if(NOT SUNSHINE_DEFAULT_DIR) - set(SUNSHINE_CONFIG_DIR "${CMAKE_CURRENT_SOURCE_DIR}/assets") + set(SUNSHINE_DEFAULT_DIR SUNSHINE_ASSETS_DIR) endif() list(APPEND CBS_EXTERNAL_LIBRARIES