mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-07 18:16:23 +00:00
CMake: Build DolphinQt2 by default
This commit is contained in:
parent
018ad98714
commit
28799bbe79
2 changed files with 9 additions and 3 deletions
|
@ -1,5 +1,11 @@
|
|||
find_package(Qt5Widgets REQUIRED)
|
||||
find_Package(Qt5Gui REQUIRED)
|
||||
find_package(Qt5Widgets)
|
||||
find_package(Qt5Gui)
|
||||
|
||||
if(NOT Qt5Widgets_FOUND OR NOT Qt5Gui_FOUND)
|
||||
message(FATAL_ERROR "Could not find Qt5, which is required to build the DolphinQt2 frontend. If you don't want to build the Qt frontend, pass -DENABLE_QT2=False to
|
||||
CMake.")
|
||||
endif()
|
||||
|
||||
set_property(TARGET Qt5::Core PROPERTY INTERFACE_COMPILE_FEATURES "")
|
||||
message(STATUS "Found Qt version ${Qt5Core_VERSION}")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue