Skip to content

Commit b8409db

Browse files
committed
[CMake] sync submodule and its use
1 parent 5e28936 commit b8409db

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ IF(USE_QT4)
5353
FIND_PACKAGE(Qt4 REQUIRED QtCore QtGui QtOpenGl QtNetwork)
5454
SET(HPP_GUI_QTVERSION "${QT_VERSION_MAJOR}.${QT_VERSION_MINOR}.${QT_VERSION_PATCH}")
5555
ELSE(USE_QT4)
56+
FIND_PACKAGE (Qt5 REQUIRED COMPONENTS Core Widgets Gui OpenGL Concurrent Network Xml)
5657
FOREACH (component "Core" "Widgets" "Gui" "OpenGL" "Concurrent" "Network" "Xml")
57-
FIND_PACKAGE ("Qt5${component}" REQUIRED)
5858
LIST(APPEND QT_INCLUDE_DIRS ${Qt5${component}_INCLUDE_DIRS})
5959
LIST(APPEND QT_LIBRARIES ${Qt5${component}_LIBRARIES} )
6060
ENDFOREACH (component "Core" "Widgets" "Gui" "OpenGL" "Network")

0 commit comments

Comments
 (0)