make Qt5WinExtras package optional

This commit is contained in:
MA-DEVELOP\apeltauer
2019-05-10 15:53:02 +02:00
committed by wmayer
parent a26e05bd4d
commit 284a69c804

View File

@@ -914,7 +914,7 @@ endif()
endif()
endif()
if(MSVC AND ${Qt5Core_VERSION} VERSION_GREATER "5.2.0")
find_package(Qt5WinExtras REQUIRED)
find_package(Qt5WinExtras QUIET)
endif()
endif(BUILD_GUI)