Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Show All 25 Lines | 22 | ecm_setup_version( | |||
---|---|---|---|---|---|
26 | PACKAGE_VERSION_FILE "${CMAKE_BINARY_DIR}/cmake/KF5I18nConfigVersion.cmake" | 26 | PACKAGE_VERSION_FILE "${CMAKE_BINARY_DIR}/cmake/KF5I18nConfigVersion.cmake" | ||
27 | SOVERSION 5) | 27 | SOVERSION 5) | ||
28 | 28 | | |||
29 | # Dependencies | 29 | # Dependencies | ||
30 | set(REQUIRED_QT_VERSION 5.8.0) | 30 | set(REQUIRED_QT_VERSION 5.8.0) | ||
31 | 31 | | |||
32 | find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG REQUIRED Core) | 32 | find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG REQUIRED Core) | ||
33 | 33 | | |||
34 | option(BUILD_WITH_QTSCRIPT "Build with support for scripted translations (recommended)" ON) | 34 | option(BUILD_WITH_QML "Build with support for scripted translations (recommended)" ON) | ||
35 | if (BUILD_WITH_QTSCRIPT) | 35 | if (BUILD_WITH_QML) | ||
36 | find_package(Qt5Script ${REQUIRED_QT_VERSION} CONFIG REQUIRED) | 36 | find_package(Qt5Qml ${REQUIRED_QT_VERSION} CONFIG REQUIRED) | ||
37 | endif() | 37 | endif() | ||
38 | 38 | | |||
39 | include(KDEInstallDirs) | 39 | include(KDEInstallDirs) | ||
40 | include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE) | 40 | include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE) | ||
41 | include(KDECMakeSettings) | 41 | include(KDECMakeSettings) | ||
42 | 42 | | |||
43 | find_package(LibIntl) | 43 | find_package(LibIntl) | ||
44 | set_package_properties(LibIntl PROPERTIES TYPE REQUIRED | 44 | set_package_properties(LibIntl PROPERTIES TYPE REQUIRED | ||
▲ Show 20 Lines • Show All 77 Lines • Show Last 20 Lines |