Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Show First 20 Lines • Show All 88 Lines • ▼ Show 20 Line(s) | 87 | if (NOT ANDROID) | |||
---|---|---|---|---|---|
89 | set_package_properties(Phonon4Qt5 PROPERTIES TYPE REQUIRED) | 89 | set_package_properties(Phonon4Qt5 PROPERTIES TYPE REQUIRED) | ||
90 | endif() | 90 | endif() | ||
91 | if (Phonon4Qt5_FOUND) | 91 | if (Phonon4Qt5_FOUND) | ||
92 | add_definitions(-DHAVE_PHONON4QT5) | 92 | add_definitions(-DHAVE_PHONON4QT5) | ||
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 | add_definitions(-DQT_NO_FOREACH) | |||
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 | add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050d00) | 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) | ||
▲ Show 20 Lines • Show All 45 Lines • Show Last 20 Lines |