Skip to content
Permalink
Browse files
Merge pull request #6594 from lioncash/qt
DolphinQt2/CMakeLists: Specify Qt libraries via COMPONENTS in the find_package call
  • Loading branch information
leoetlino committed Apr 5, 2018
2 parents a9cd671 + fb929ab commit 39cb22d
Showing 1 changed file with 1 addition and 7 deletions.
@@ -1,10 +1,4 @@
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()
find_package(Qt5 REQUIRED COMPONENTS Gui Widgets)

set_property(TARGET Qt5::Core PROPERTY INTERFACE_COMPILE_FEATURES "")
message(STATUS "Found Qt version ${Qt5Core_VERSION}")

0 comments on commit 39cb22d

Please sign in to comment.