Форматирование

This commit is contained in:
Andrei Astafev 2021-06-07 17:57:17 +03:00
parent ca7cf2dbfe
commit 5e600ab490
2 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
if (NOT CMLIB_THEME_NAME) if(NOT CMLIB_THEME_NAME)
set(CMLIB_THEME_NAME "default") set(CMLIB_THEME_NAME "default")
endif() endif()
@ -15,8 +15,8 @@ string(TOUPPER ${CMLIB_PROJECT_NAME_CANONICAL} CMLIB_PROJECT_NAME_UPPER)
string(TOUPPER ${CMLIB_THEME_NAME_CANONICAL} CMLIB_THEME_NAME_UPPER) string(TOUPPER ${CMLIB_THEME_NAME_CANONICAL} CMLIB_THEME_NAME_UPPER)
option(CMLIB_USE_DEVELOPMENT_INSTALL_PREFIX "Auto-generated output prefix for development installation" OFF) option(CMLIB_USE_DEVELOPMENT_INSTALL_PREFIX "Auto-generated output prefix for development installation" OFF)
if (CMLIB_USE_DEVELOPMENT_INSTALL_PREFIX) if(CMLIB_USE_DEVELOPMENT_INSTALL_PREFIX)
if (CMLIB_THEME_NAME_LOWER STREQUAL "default") if(CMLIB_THEME_NAME_LOWER STREQUAL "default")
set(CMAKE_INSTALL_PREFIX "${PROJECT_SOURCE_DIR}/_output" CACHE PATH "" FORCE) set(CMAKE_INSTALL_PREFIX "${PROJECT_SOURCE_DIR}/_output" CACHE PATH "" FORCE)
else() else()
set(CMAKE_INSTALL_PREFIX "${PROJECT_SOURCE_DIR}/_output/${CMLIB_THEME_NAME_LOWER}" CACHE PATH "" FORCE) set(CMAKE_INSTALL_PREFIX "${PROJECT_SOURCE_DIR}/_output/${CMLIB_THEME_NAME_LOWER}" CACHE PATH "" FORCE)