Changeset View
Changeset View
Standalone View
Standalone View
src/lib/marble/MarbleConfig.cmake.in
- This file was added.
1 | @PACKAGE_INIT@ | ||||
---|---|---|---|---|---|
2 | | ||||
3 | set(MARBLE_NO_WEBKITWIDGETS @MARBLE_NO_WEBKITWIDGETS@) | ||||
4 | | ||||
5 | if(NOT CMAKE_MINIMUM_REQUIRED_VERSION VERSION_LESS 2.8.13) | ||||
6 | find_dependency(Qt5Quick @REQUIRED_QT_VERSION@) | ||||
7 | find_dependency(Qt5Xml @REQUIRED_QT_VERSION@) | ||||
8 | find_dependency(Qt5Widgets @REQUIRED_QT_VERSION@) | ||||
9 | if (NOT MARBLE_NO_WEBKITWIDGETS) | ||||
10 | find_dependency(Qt5WebKitWidgets @REQUIRED_QT_VERSION@) | ||||
11 | endif() | ||||
12 | else() | ||||
13 | find_package(Qt5Quick REQUIRED) | ||||
14 | find_package(Qt5Xml REQUIRED) | ||||
15 | find_package(Qt5Widgets REQUIRED) | ||||
16 | if (NOT MARBLE_NO_WEBKITWIDGETS) | ||||
17 | find_package(Qt5WebKitWidgets REQUIRED) | ||||
18 | endif() | ||||
19 | endif() | ||||
20 | | ||||
21 | include("${CMAKE_CURRENT_LIST_DIR}/@MARBLE_CMAKECONFIGNAME@Targets.cmake") |