add FindQt.cmake to reuse

This commit is contained in:
Fire Cube 2025-06-21 21:36:12 +02:00
parent e4f19145d6
commit bee3f1075d

View file

@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
# SPDX-License-Identifier: GPL-2.0-or-later
if(WIN32 AND NOT CMAKE_PREFIX_PATH)
file(GLOB QT_KITS LIST_DIRECTORIES true "C:/Qt/*/msvc*")
list(SORT QT_KITS COMPARE NATURAL)