Reduce Qt footprint even more
This commit is contained in:
@@ -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}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user