Reduce Qt footprint even more

This commit is contained in:
Jan Möbius
2018-12-14 14:57:30 +01:00
parent 49ad640c84
commit 0beeb7f9c1
6 changed files with 26 additions and 71 deletions

View File

@@ -4,7 +4,6 @@ include_directories (
../../..
${CMAKE_CURRENT_SOURCE_DIR}
${GLUT_INCLUDE_DIR}
${QT_INCLUDE_DIR}
)
@@ -23,8 +22,6 @@ acg_drop_templates (sources)
if (WIN32)
acg_add_executable( ProgViewer WIN32 ${sources} ${headers})
# link to qtmain library to get WinMain function for a non terminal app
target_link_libraries( ProgViewer ${QT_QTMAIN_LIBRARY})
else ()
acg_add_executable( ProgViewer ${sources} ${headers})
endif ()
@@ -32,7 +29,7 @@ endif ()
target_link_libraries ( ProgViewer
OpenMeshCore
OpenMeshTools
${QT_LIBRARIES}
Qt5::OpenGL
${OPENGL_LIBRARIES}
${GLUT_LIBRARIES}
)