Skip to content

Commit

Permalink
[CMake] sync submodule and its use
Browse files Browse the repository at this point in the history
  • Loading branch information
nim65s committed Sep 11, 2020
1 parent 5e28936 commit b8409db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ IF(USE_QT4)
FIND_PACKAGE(Qt4 REQUIRED QtCore QtGui QtOpenGl QtNetwork)
SET(HPP_GUI_QTVERSION "${QT_VERSION_MAJOR}.${QT_VERSION_MINOR}.${QT_VERSION_PATCH}")
ELSE(USE_QT4)
FIND_PACKAGE (Qt5 REQUIRED COMPONENTS Core Widgets Gui OpenGL Concurrent Network Xml)
FOREACH (component "Core" "Widgets" "Gui" "OpenGL" "Concurrent" "Network" "Xml")
FIND_PACKAGE ("Qt5${component}" REQUIRED)
LIST(APPEND QT_INCLUDE_DIRS ${Qt5${component}_INCLUDE_DIRS})
LIST(APPEND QT_LIBRARIES ${Qt5${component}_LIBRARIES} )
ENDFOREACH (component "Core" "Widgets" "Gui" "OpenGL" "Network")
Expand Down

0 comments on commit b8409db

Please sign in to comment.