|
|
@ -211,7 +211,7 @@ if(ENABLE_QT)
|
|
|
|
|
|
|
|
|
|
|
|
set(QT_PREFIX_HINT HINTS "${QT_PREFIX}")
|
|
|
|
set(QT_PREFIX_HINT HINTS "${QT_PREFIX}")
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
find_package(Qt5 5.9 COMPONENTS Widgets OpenGL ${QT_PREFIX_HINT})
|
|
|
|
find_package(Qt5 5.9 COMPONENTS Widgets ${QT_PREFIX_HINT})
|
|
|
|
if (YUZU_USE_QT_WEB_ENGINE)
|
|
|
|
if (YUZU_USE_QT_WEB_ENGINE)
|
|
|
|
find_package(Qt5 COMPONENTS WebEngineCore WebEngineWidgets)
|
|
|
|
find_package(Qt5 COMPONENTS WebEngineCore WebEngineWidgets)
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
@ -287,7 +287,7 @@ if (CONAN_REQUIRED_LIBS)
|
|
|
|
if(ENABLE_QT)
|
|
|
|
if(ENABLE_QT)
|
|
|
|
list(APPEND CMAKE_MODULE_PATH "${CONAN_QT_ROOT_RELEASE}")
|
|
|
|
list(APPEND CMAKE_MODULE_PATH "${CONAN_QT_ROOT_RELEASE}")
|
|
|
|
list(APPEND CMAKE_PREFIX_PATH "${CONAN_QT_ROOT_RELEASE}")
|
|
|
|
list(APPEND CMAKE_PREFIX_PATH "${CONAN_QT_ROOT_RELEASE}")
|
|
|
|
find_package(Qt5 5.9 REQUIRED COMPONENTS Widgets OpenGL)
|
|
|
|
find_package(Qt5 5.9 REQUIRED COMPONENTS Widgets)
|
|
|
|
if (YUZU_USE_QT_WEB_ENGINE)
|
|
|
|
if (YUZU_USE_QT_WEB_ENGINE)
|
|
|
|
find_package(Qt5 REQUIRED COMPONENTS WebEngineCore WebEngineWidgets)
|
|
|
|
find_package(Qt5 REQUIRED COMPONENTS WebEngineCore WebEngineWidgets)
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|