fix mingw dont work
This commit is contained in:
parent
7ae41c4c9e
commit
0f49463bbf
|
@ -1358,7 +1358,6 @@ endfunction()
|
|||
function(query_qt_library_info)
|
||||
cmake_parse_arguments(QT_ARGS "" "STATIC;SHARED;VERSION" "" ${ARGN})
|
||||
find_package(QT NAMES Qt6 Qt5 QUIET COMPONENTS Core)
|
||||
find_package(Qt${QT_VERSION_MAJOR} QUIET COMPONENTS Core)
|
||||
if(NOT (Qt6_FOUND OR Qt5_FOUND))
|
||||
message(AUTHOR_WARNING "You need to install the QtCore module first to be able to query Qt library information.")
|
||||
return()
|
||||
|
|
Loading…
Reference in New Issue