avogadro/qtplugins/resetview/CMakeLists.txt
raw| 1 | if(QT_VERSION EQUAL 6) |
| 2 | find_package(Qt6 REQUIRED COMPONENTS OpenGLWidgets) |
| 3 | endif() |
| 4 | |
| 5 | avogadro_plugin(ResetView |
| 6 | "Manipulate the view camera." |
| 7 | ExtensionPlugin |
| 8 | resetview.h |
| 9 | ResetView |
| 10 | "resetview.cpp" |
| 11 | "" |
| 12 | ) |
| 13 | |
| 14 | target_link_libraries(ResetView PRIVATE Avogadro::QtOpenGL) |
| 15 | |
| 16 | if(QT_VERSION EQUAL 6) |
| 17 | target_link_libraries(ResetView |
| 18 | PRIVATE |
| 19 | Qt6::OpenGLWidgets) |
| 20 | endif() |