Fixed linker problems and added version specific qt packages
This commit is contained in:
@@ -29,6 +29,12 @@ target_link_libraries ( ProgViewer
|
||||
OpenMeshCore
|
||||
OpenMeshTools
|
||||
${QT_TARGET}::OpenGL
|
||||
${QT_TARGET}::Widgets
|
||||
${QT_TARGET}::Gui
|
||||
${OPENGL_LIBRARIES}
|
||||
)
|
||||
|
||||
if (QT_VERSION_MAJOR GREATER 5)
|
||||
target_link_libraries (ProgViewer ${QT_TARGET}::OpenGLWidgets)
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user