cmake: Move Qt5 search to DolphinQt build script
This commit is contained in:
parent
c5d4ae6163
commit
62c439814f
|
@ -876,11 +876,6 @@ if (OPENSLES_LIBRARIES AND OPENSLES_INCLUDE_DIR)
|
|||
message(STATUS "OpenSLES found, enabling OpenSLES sound backend")
|
||||
endif()
|
||||
|
||||
if(ENABLE_QT2)
|
||||
find_package(Qt5Widgets REQUIRED)
|
||||
message(STATUS "Found Qt version ${Qt5Core_VERSION}, enabling the Qt backend")
|
||||
endif()
|
||||
|
||||
if(NOT DISABLE_WX)
|
||||
find_package(wxWidgets COMPONENTS core aui adv)
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
find_package(Qt5Widgets REQUIRED)
|
||||
message(STATUS "Found Qt version ${Qt5Core_VERSION}")
|
||||
|
||||
include_directories(${CMAKE_CURRENT_BINARY_DIR})
|
||||
|
||||
add_definitions(-DQT_USE_QSTRINGBUILDER -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII)
|
||||
|
|
Loading…
Reference in New Issue