CMakeLists.txt - set QT_MAJOR_VERSION for ECM

This commit is contained in:
Allen Winter
2022-07-13 06:19:28 -04:00
parent 710f71e7f0
commit 084947612b
2 changed files with 3 additions and 0 deletions

View File

@@ -66,6 +66,8 @@ elseif(QT_MAJOR_VERSION STREQUAL "6")
set(_exec_name_text "Qt6 qtpaths")
set(_cli_option "--query")
endif()
else()
set(_exec_name_text "Qt")
endif()
function(ecm_query_qt result_variable qt_variable)