Changeset View
Changeset View
Standalone View
Standalone View
kstyle/CMakeLists.txt
Show All 16 Lines | 16 | if(NOT BREEZE_USE_KDE4) | |||
---|---|---|---|---|---|
17 | 17 | | |||
18 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated-declarations") | 18 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated-declarations") | ||
19 | 19 | | |||
20 | endif() | 20 | endif() | ||
21 | 21 | | |||
22 | ################# Qt/KDE ################# | 22 | ################# Qt/KDE ################# | ||
23 | if(BREEZE_USE_KDE4) | 23 | if(BREEZE_USE_KDE4) | ||
24 | 24 | | |||
25 | find_package(KDE4 REQUIRED) | | |||
26 | include(KDE4Defaults) | | |||
27 | include(MacroLibrary) | | |||
28 | | ||||
29 | add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS}) | | |||
30 | include_directories(${KDE4_INCLUDES}) | | |||
31 | | ||||
32 | ### XCB | 25 | ### XCB | ||
33 | if(UNIX AND NOT APPLE) | 26 | if(UNIX AND NOT APPLE) | ||
34 | find_package(PkgConfig REQUIRED) | 27 | find_package(PkgConfig REQUIRED) | ||
35 | pkg_check_modules(XCB xcb x11-xcb) | 28 | pkg_check_modules(XCB xcb x11-xcb) | ||
36 | add_feature_info("x11-xcb" XCB_FOUND "Required to pass style properties to native Windows on X11 Platform") | 29 | add_feature_info("x11-xcb" XCB_FOUND "Required to pass style properties to native Windows on X11 Platform") | ||
37 | set_feature_info("x11-xcb" "Required to pass style properties to native Windows on X11 Platform" "http://xcb.freedesktop.org") | 30 | set_feature_info("x11-xcb" "Required to pass style properties to native Windows on X11 Platform" "http://xcb.freedesktop.org") | ||
38 | set(BREEZE_HAVE_X11 ${XCB_FOUND}) | 31 | set(BREEZE_HAVE_X11 ${XCB_FOUND}) | ||
39 | else() | 32 | else() | ||
▲ Show 20 Lines • Show All 160 Lines • Show Last 20 Lines |