Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
1 | project(breeze) | 1 | project(breeze) | ||
---|---|---|---|---|---|
2 | set(PROJECT_VERSION "5.14.80") | 2 | set(PROJECT_VERSION "5.14.80") | ||
3 | set(PROJECT_VERSION_MAJOR 5) | 3 | set(PROJECT_VERSION_MAJOR 5) | ||
4 | 4 | | |||
5 | cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR) | 5 | cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR) | ||
6 | 6 | | |||
7 | option(USE_KDE4 "Build a widget style for KDE4 (and nothing else)") | 7 | option(USE_KDE4 "Build a widget style for KDE4 (and nothing else)") | ||
8 | 8 | | |||
9 | include(GenerateExportHeader) | 9 | include(GenerateExportHeader) | ||
10 | include(WriteBasicConfigVersionFile) | 10 | include(WriteBasicConfigVersionFile) | ||
11 | include(FeatureSummary) | 11 | include(FeatureSummary) | ||
12 | 12 | | |||
13 | set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules") | | |||
14 | | ||||
15 | if(USE_KDE4) | 13 | if(USE_KDE4) | ||
16 | find_package(KDE4 REQUIRED) | 14 | find_package(KDE4 REQUIRED) | ||
17 | include(KDE4Defaults) | 15 | include(KDE4Defaults) | ||
18 | include(MacroLibrary) | 16 | include(MacroLibrary) | ||
19 | 17 | | |||
20 | add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS}) | 18 | add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS}) | ||
21 | include_directories(${KDE4_INCLUDES}) | 19 | include_directories(${KDE4_INCLUDES}) | ||
22 | 20 | | |||
▲ Show 20 Lines • Show All 54 Lines • Show Last 20 Lines |