mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-01 23:17:26 -04:00
cmake: drop unnecessary package
This commit is contained in:
@@ -158,12 +158,6 @@ if(Qt5QmlModels_PKG_CONFIG_FOUND)
|
|||||||
list(APPEND QT5_LIBRARIES Qt5QmlModels)
|
list(APPEND QT5_LIBRARIES Qt5QmlModels)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# TODO: drop this once we switch to Qt 5.12+
|
|
||||||
find_package(Qt5XmlPatterns QUIET)
|
|
||||||
if(Qt5XmlPatterns_FOUND)
|
|
||||||
list(APPEND QT5_LIBRARIES Qt5XmlPatterns)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
foreach(QT5_MODULE ${QT5_LIBRARIES})
|
foreach(QT5_MODULE ${QT5_LIBRARIES})
|
||||||
find_package(${QT5_MODULE} REQUIRED)
|
find_package(${QT5_MODULE} REQUIRED)
|
||||||
include_directories(${${QT5_MODULE}_INCLUDE_DIRS})
|
include_directories(${${QT5_MODULE}_INCLUDE_DIRS})
|
||||||
|
|||||||
Reference in New Issue
Block a user