buildsystem - InstallLocation.cmake -> KDInstallLocation.cmake

This commit is contained in:
Allen Winter
2022-07-12 12:09:55 -04:00
parent ad8e14ceff
commit d28dc745bc
3 changed files with 8 additions and 3 deletions

2
.krazy
View File

@@ -22,4 +22,4 @@ SKIP /KDDockWidgetsConfig.cmake.in
SKIP CMakePresets.json
SKIP \.cmake-format\.py
#skip the borrowed code in the cmake subdir
SKIP /cmake/InstallLocation.cmake|/cmake/ECM/|/cmake/KDAB/
SKIP /cmake/ECM/|/cmake/KDAB/

View File

@@ -122,7 +122,6 @@ option(${PROJECT_NAME}_X11EXTRAS
)
option(${PROJECT_NAME}_XLib "On Linux, link against XLib, for a more robust window z-order detection." OFF)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake")
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake/ECM/modules")
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake/KDAB/modules")
@@ -271,7 +270,7 @@ if(KDAB_INSTALL)
endif()
# setup default install locations
include(InstallLocation)
include(KDInstallLocation)
if(CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR)
set(${PROJECT_NAME}_IS_ROOT_PROJECT TRUE)

View File

@@ -1,3 +1,9 @@
#
# SPDX-FileCopyrightText: 2012-2022 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
#
# SPDX-License-Identifier: BSD-3-Clause
#
# Some default installation locations. These should be global, with any project
# specific locations added to the end. These paths are all relative to the
# install prefix.