Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Show First 20 Lines • Show All 63 Lines • ▼ Show 20 Line(s) | |||||
64 | set (HAVE_ATTICA ${KF5Attica_FOUND}) | 64 | set (HAVE_ATTICA ${KF5Attica_FOUND}) | ||
65 | 65 | | |||
66 | if (NOT FORCE_DISABLE_KGLOBALACCEL) | 66 | if (NOT FORCE_DISABLE_KGLOBALACCEL) | ||
67 | find_package(KF5GlobalAccel ${KF5_DEP_VERSION} REQUIRED) | 67 | find_package(KF5GlobalAccel ${KF5_DEP_VERSION} REQUIRED) | ||
68 | endif() | 68 | endif() | ||
69 | set (HAVE_GLOBALACCEL ${KF5GlobalAccel_FOUND}) | 69 | set (HAVE_GLOBALACCEL ${KF5GlobalAccel_FOUND}) | ||
70 | add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050d00) | 70 | add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050d00) | ||
71 | add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x053f00) | 71 | add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x053f00) | ||
72 | # Subdirectories | 72 | # Subdirectories | ||
apol: This comment looks wrong | |||||
nicolasfella: Fixed | |||||
73 | add_definitions(-DTRANSLATION_DOMAIN=\"kxmlgui5\") | 73 | add_definitions(-DTRANSLATION_DOMAIN=\"kxmlgui5\") | ||
74 | add_definitions(-DQT_NO_FOREACH) | ||||
74 | if (IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/po") | 75 | if (IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/po") | ||
75 | ki18n_install(po) | 76 | ki18n_install(po) | ||
76 | endif() | 77 | endif() | ||
77 | 78 | | |||
78 | add_subdirectory(src) | 79 | add_subdirectory(src) | ||
79 | if (BUILD_TESTING) | 80 | if (BUILD_TESTING) | ||
80 | add_subdirectory(tests) | 81 | add_subdirectory(tests) | ||
81 | add_subdirectory(autotests) | 82 | add_subdirectory(autotests) | ||
▲ Show 20 Lines • Show All 45 Lines • Show Last 20 Lines |
This comment looks wrong