Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Show First 20 Lines • Show All 66 Lines • ▼ Show 20 Line(s) | 66 | ecm_setup_version ( | |||
---|---|---|---|---|---|
67 | PROJECT | 67 | PROJECT | ||
68 | VARIABLE_PREFIX KACTIVITIES | 68 | VARIABLE_PREFIX KACTIVITIES | ||
69 | VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/kactivities_version.h" | 69 | VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/kactivities_version.h" | ||
70 | PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/KF5ActivitiesConfigVersion.cmake" | 70 | PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/KF5ActivitiesConfigVersion.cmake" | ||
71 | SOVERSION 5 | 71 | SOVERSION 5 | ||
72 | ) | 72 | ) | ||
73 | 73 | | |||
74 | add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000) | 74 | add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000) | ||
75 | add_definitions(-DQT_NO_FOREACH) | ||||
75 | 76 | | |||
76 | add_subdirectory (src) | 77 | add_subdirectory (src) | ||
77 | if (BUILD_TESTING) | 78 | if (BUILD_TESTING) | ||
78 | add_subdirectory (autotests) | 79 | add_subdirectory (autotests) | ||
79 | add_subdirectory (tests) | 80 | add_subdirectory (tests) | ||
80 | endif() | 81 | endif() | ||
81 | 82 | | |||
82 | set (CMAKECONFIG_INSTALL_DIR "${KDE_INSTALL_CMAKEPACKAGEDIR}/KF5Activities") | 83 | set (CMAKECONFIG_INSTALL_DIR "${KDE_INSTALL_CMAKEPACKAGEDIR}/KF5Activities") | ||
▲ Show 20 Lines • Show All 42 Lines • Show Last 20 Lines |