Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Show All 14 Lines | |||||
15 | find_package(Qt5 ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONENTS Widgets Qml Quick QuickWidgets Svg Test) | 15 | find_package(Qt5 ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONENTS Widgets Qml Quick QuickWidgets Svg Test) | ||
16 | find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS CoreAddons Config WidgetsAddons Codecs Archive | 16 | find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS CoreAddons Config WidgetsAddons Codecs Archive | ||
17 | DBusAddons DNSSD Declarative | 17 | DBusAddons DNSSD Declarative | ||
18 | I18n GuiAddons Service ConfigWidgets ItemViews IconThemes Completion JobWidgets TextWidgets GlobalAccel XmlGui Crash | 18 | I18n GuiAddons Service ConfigWidgets ItemViews IconThemes Completion JobWidgets TextWidgets GlobalAccel XmlGui Crash | ||
19 | Bookmarks NewStuff Completion) | 19 | Bookmarks NewStuff Completion) | ||
20 | 20 | | |||
21 | include(FeatureSummary) | 21 | include(FeatureSummary) | ||
22 | include(GenerateExportHeader) | 22 | include(GenerateExportHeader) | ||
23 | include(ECMPackageConfigHelpers) | 23 | include(CMakePackageConfigHelpers) | ||
24 | include(ECMSetupVersion) | 24 | include(ECMSetupVersion) | ||
25 | include(ECMGenerateHeaders) | 25 | include(ECMGenerateHeaders) | ||
26 | include(ECMMarkNonGuiExecutable) | 26 | include(ECMMarkNonGuiExecutable) | ||
27 | include(KDEInstallDirs) | 27 | include(KDEInstallDirs) | ||
28 | include(KDECompilerSettings NO_POLICY_SCOPE) | 28 | include(KDECompilerSettings NO_POLICY_SCOPE) | ||
29 | include(KDECMakeSettings) | 29 | include(KDECMakeSettings) | ||
30 | 30 | | |||
31 | add_definitions(${QT_DEFINITIONS}) | 31 | add_definitions(${QT_DEFINITIONS}) | ||
▲ Show 20 Lines • Show All 219 Lines • ▼ Show 20 Line(s) | |||||
251 | # add libraries to the build-tree export set | 251 | # add libraries to the build-tree export set | ||
252 | export(TARGETS KF5KDEGames KF5KDEGamesPrivate | 252 | export(TARGETS KF5KDEGames KF5KDEGamesPrivate | ||
253 | FILE "${PROJECT_BINARY_DIR}/KF5KDEGamesLibraryDepends.cmake") | 253 | FILE "${PROJECT_BINARY_DIR}/KF5KDEGamesLibraryDepends.cmake") | ||
254 | 254 | | |||
255 | # define the installation directory for the CMake files | 255 | # define the installation directory for the CMake files | ||
256 | set(CMAKECONFIG_INSTALL_DIR "${CMAKECONFIG_INSTALL_PREFIX}/KF5KDEGames") | 256 | set(CMAKECONFIG_INSTALL_DIR "${CMAKECONFIG_INSTALL_PREFIX}/KF5KDEGames") | ||
257 | 257 | | |||
258 | # create the Config.cmake and ConfigVersion.cmake files | 258 | # create the Config.cmake and ConfigVersion.cmake files | ||
259 | ecm_configure_package_config_file("${CMAKE_CURRENT_SOURCE_DIR}/KDEGamesConfig.cmake.in" | 259 | configure_package_config_file("${CMAKE_CURRENT_SOURCE_DIR}/KDEGamesConfig.cmake.in" | ||
260 | "${CMAKE_CURRENT_BINARY_DIR}/KF5KDEGamesConfig.cmake" | 260 | "${CMAKE_CURRENT_BINARY_DIR}/KF5KDEGamesConfig.cmake" | ||
261 | INSTALL_DESTINATION ${CMAKECONFIG_INSTALL_DIR} | 261 | INSTALL_DESTINATION ${CMAKECONFIG_INSTALL_DIR} | ||
262 | ) | 262 | ) | ||
263 | 263 | | |||
264 | install(FILES "${CMAKE_CURRENT_BINARY_DIR}/KF5KDEGamesConfig.cmake" | 264 | install(FILES "${CMAKE_CURRENT_BINARY_DIR}/KF5KDEGamesConfig.cmake" | ||
265 | "${CMAKE_CURRENT_BINARY_DIR}/KF5KDEGamesConfigVersion.cmake" | 265 | "${CMAKE_CURRENT_BINARY_DIR}/KF5KDEGamesConfigVersion.cmake" | ||
266 | DESTINATION "${CMAKECONFIG_INSTALL_DIR}" | 266 | DESTINATION "${CMAKECONFIG_INSTALL_DIR}" | ||
267 | COMPONENT Devel ) | 267 | COMPONENT Devel ) | ||
Show All 13 Lines |