aboutsummaryrefslogtreecommitdiff
path: root/find-modules
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-10-01 13:35:46 +0200
committerStephen Kelly <steveire@gmail.com>2013-10-01 13:35:46 +0200
commit226d6f55263aaec91d7bc69a6e95214191133195 (patch)
tree5bf739db6ff72c646fd8a5a05f9b70851750b107 /find-modules
parent2c06c46942c3360fbbf14807b843578d5f4053d8 (diff)
downloadextra-cmake-modules-226d6f55263aaec91d7bc69a6e95214191133195.tar.gz
extra-cmake-modules-226d6f55263aaec91d7bc69a6e95214191133195.tar.bz2
Remove modules which shouldn't be part of the ECM release.
Diffstat (limited to 'find-modules')
-rw-r--r--find-modules/FindQt5Transitional.cmake78
1 files changed, 0 insertions, 78 deletions
diff --git a/find-modules/FindQt5Transitional.cmake b/find-modules/FindQt5Transitional.cmake
deleted file mode 100644
index 1b220769..00000000
--- a/find-modules/FindQt5Transitional.cmake
+++ /dev/null
@@ -1,78 +0,0 @@
-
-find_package(Qt5Core QUIET)
-
-if (Qt5Core_FOUND)
- set(_allComponents
- Core
- Gui
- DBus
- Designer
- Declarative
- Script
- ScriptTools
- Network
- Test
- Xml
- Svg
- Sql
- Widgets
- PrintSupport
- Concurrent
- UiTools
- WebKit
- WebKitWidgets
- OpenGL
- X11Extras
- Qml
- Quick
- )
- if (NOT Qt5Transitional_FIND_COMPONENTS)
- foreach(_component ${_allComponents})
- find_package(Qt5${_component})
-
- list(APPEND QT_LIBRARIES ${Qt5${_component}_LIBRARIES})
- endforeach()
- else()
- set(_components ${Qt5Transitional_FIND_COMPONENTS})
- foreach(_component ${Qt5Transitional_FIND_COMPONENTS})
- find_package(Qt5${_component} REQUIRED)
- if ("${_component}" STREQUAL "WebKit")
- find_package(Qt5WebKitWidgets REQUIRED)
- list(APPEND QT_LIBRARIES ${Qt5WebKitWidgets_LIBRARIES} )
- endif()
- if ("${_component}" STREQUAL "Gui")
- find_package(Qt5Widgets REQUIRED)
- find_package(Qt5PrintSupport REQUIRED)
- find_package(Qt5Svg REQUIRED)
- list(APPEND QT_LIBRARIES ${Qt5Widgets_LIBRARIES}
- ${Qt5PrintSupport_LIBRARIES}
- ${Qt5Svg_LIBRARIES} )
- endif()
- if ("${_component}" STREQUAL "Core")
- find_package(Qt5Concurrent REQUIRED)
- list(APPEND QT_LIBRARIES ${Qt5Concurrent_LIBRARIES} )
- endif()
- endforeach()
- endif()
-
- set(Qt5Transitional_FOUND TRUE)
- set(QT5_BUILD TRUE)
-
- get_filename_component(_modules_dir "${CMAKE_CURRENT_LIST_DIR}/../modules" ABSOLUTE)
- include("${_modules_dir}/ECMQt4To5Porting.cmake") # TODO: Port away from this.
-
-else()
- foreach(_component ${Qt5Transitional_FIND_COMPONENTS})
- if("${_component}" STREQUAL "Widgets") # new in Qt5
- set(_component Gui)
- elseif("${_component}" STREQUAL "Concurrent") # new in Qt5
- set(_component Core)
- endif()
- list(APPEND _components Qt${_component})
- endforeach()
- find_package(Qt4 ${QT_MIN_VERSION} REQUIRED ${_components})
-
- if(QT4_FOUND)
- set(Qt5Transitional_FOUND TRUE)
- endif()
-endif()