Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Show First 20 Lines • Show All 92 Lines • ▼ Show 20 Line(s) | 82 | else() | |||
---|---|---|---|---|---|
93 | endif() | 93 | endif() | ||
94 | endif() | 94 | endif() | ||
95 | 95 | | |||
96 | remove_definitions(-DQT_NO_CAST_FROM_BYTEARRAY) | 96 | remove_definitions(-DQT_NO_CAST_FROM_BYTEARRAY) | ||
97 | 97 | | |||
98 | if (IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/po") | 98 | if (IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/po") | ||
99 | ecm_install_po_files_as_qm(po) | 99 | ecm_install_po_files_as_qm(po) | ||
100 | endif() | 100 | endif() | ||
101 | 101 | add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050d00) | |||
102 | add_subdirectory(src) | 102 | add_subdirectory(src) | ||
103 | if (BUILD_TESTING) | 103 | if (BUILD_TESTING) | ||
104 | add_subdirectory(tests) | 104 | add_subdirectory(tests) | ||
105 | add_subdirectory(autotests) | 105 | add_subdirectory(autotests) | ||
106 | endif() | 106 | endif() | ||
107 | 107 | | |||
108 | # create a Config.cmake and a ConfigVersion.cmake file and install them | 108 | # create a Config.cmake and a ConfigVersion.cmake file and install them | ||
109 | set(CMAKECONFIG_INSTALL_DIR "${KDE_INSTALL_CMAKEPACKAGEDIR}/KF5Notifications") | 109 | set(CMAKECONFIG_INSTALL_DIR "${KDE_INSTALL_CMAKEPACKAGEDIR}/KF5Notifications") | ||
▲ Show 20 Lines • Show All 41 Lines • Show Last 20 Lines |