Форматирование
This commit is contained in:
parent
ca7cf2dbfe
commit
5e600ab490
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user