mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-27 00:14:40 -07:00
rework finding qt
This commit is contained in:
parent
d183291753
commit
0e0bed8d32
2 changed files with 139 additions and 48 deletions
|
|
@ -183,11 +183,9 @@ find_package(Threads REQUIRED)
|
|||
|
||||
message(STATUS "Update Translations: ${UPDATE_TRANSLATIONS}")
|
||||
|
||||
# Find Qt, min version is defined in that .cmake file
|
||||
include(FindQtRuntime)
|
||||
|
||||
# Qt is located through normal CMake package discovery
|
||||
find_package(Qt6 6.4 REQUIRED)
|
||||
|
||||
set(CMAKE_AUTOMOC TRUE)
|
||||
|
||||
## Find other needed libraries
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue