Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Show All 28 Lines | |||||
29 | add_feature_info(QCH ${BUILD_QCH} "API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)") | 29 | add_feature_info(QCH ${BUILD_QCH} "API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)") | ||
30 | 30 | | |||
31 | find_package(KF5CoreAddons ${KF5_DEP_VERSION} REQUIRED) | 31 | find_package(KF5CoreAddons ${KF5_DEP_VERSION} REQUIRED) | ||
32 | find_package(KF5Config ${KF5_DEP_VERSION} REQUIRED) | 32 | find_package(KF5Config ${KF5_DEP_VERSION} REQUIRED) | ||
33 | find_package(KF5WindowSystem ${KF5_DEP_VERSION} REQUIRED) | 33 | find_package(KF5WindowSystem ${KF5_DEP_VERSION} REQUIRED) | ||
34 | find_package(KF5I18n ${KF5_DEP_VERSION} REQUIRED) | 34 | find_package(KF5I18n ${KF5_DEP_VERSION} REQUIRED) | ||
35 | find_package(KF5DocTools ${KF5_DEP_VERSION}) | 35 | find_package(KF5DocTools ${KF5_DEP_VERSION}) | ||
36 | 36 | | |||
37 | add_definitions(-DQT_NO_FOREACH) | ||||
37 | add_definitions(-DTRANSLATION_DOMAIN=\"kwalletd5\") | 38 | add_definitions(-DTRANSLATION_DOMAIN=\"kwalletd5\") | ||
38 | if (IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/po") | 39 | if (IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/po") | ||
39 | ki18n_install(po) | 40 | ki18n_install(po) | ||
40 | endif() | 41 | endif() | ||
41 | add_subdirectory(src) | 42 | add_subdirectory(src) | ||
42 | if (BUILD_TESTING) | 43 | if (BUILD_TESTING) | ||
43 | add_subdirectory(autotests) | 44 | add_subdirectory(autotests) | ||
44 | add_subdirectory(tests) | 45 | add_subdirectory(tests) | ||
Show All 10 Lines |