aboutsummaryrefslogtreecommitdiff
path: root/modules/ECMQueryQmake.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'modules/ECMQueryQmake.cmake')
-rw-r--r--modules/ECMQueryQmake.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/ECMQueryQmake.cmake b/modules/ECMQueryQmake.cmake
index 4d7f9543..4277eeea 100644
--- a/modules/ECMQueryQmake.cmake
+++ b/modules/ECMQueryQmake.cmake
@@ -1,3 +1,7 @@
+if (${ECM_GLOBAL_FIND_VERSION} VERSION_GREATER_EQUAL 5.93)
+ message(DEPRECATION "ECMQueryQmake.cmake is deprecated since 5.93, please use ECMQueryQt.cmake instead.")
+endif()
+
include(${CMAKE_CURRENT_LIST_DIR}/QtVersionOption.cmake)
find_package(Qt${QT_MAJOR_VERSION}Core QUIET)