mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-23 10:35:03 +00:00
degrade not detected message and search only for x64 Qt
This commit is contained in:
parent
59e09bfad3
commit
680fbee09c
@ -1,7 +1,7 @@
|
|||||||
# SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
|
# SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
|
||||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
file(GLOB QT_KITS LIST_DIRECTORIES true "C:/Qt/*/msvc*")
|
file(GLOB QT_KITS LIST_DIRECTORIES true "C:/Qt/*/msvc*_64")
|
||||||
list(SORT QT_KITS COMPARE NATURAL)
|
list(SORT QT_KITS COMPARE NATURAL)
|
||||||
list(REVERSE QT_KITS)
|
list(REVERSE QT_KITS)
|
||||||
if(QT_KITS)
|
if(QT_KITS)
|
||||||
@ -9,6 +9,6 @@ if(QT_KITS)
|
|||||||
set(CMAKE_PREFIX_PATH "${QT_PREFIX}" CACHE PATH "Qt prefix auto‑detected" FORCE)
|
set(CMAKE_PREFIX_PATH "${QT_PREFIX}" CACHE PATH "Qt prefix auto‑detected" FORCE)
|
||||||
message(STATUS "Auto-detected Qt prefix: ${QT_PREFIX}")
|
message(STATUS "Auto-detected Qt prefix: ${QT_PREFIX}")
|
||||||
else()
|
else()
|
||||||
message(WARNING "findQt.cmake: no Qt‑Directory found in C:/Qt – please set CMAKE_PREFIX_PATH manually")
|
message(STATUS "findQt.cmake: no Qt‑Directory found in C:/Qt – please set CMAKE_PREFIX_PATH manually")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user