avogadro/qtplugins/playertool/CMakeLists.txt
raw| 1 | if(QT_VERSION EQUAL 6) |
| 2 | find_package(Qt6 |
| 3 | REQUIRED COMPONENTS |
| 4 | OpenGL |
| 5 | OpenGLWidgets) |
| 6 | endif() |
| 7 | |
| 8 | avogadro_plugin(PlayerTool |
| 9 | "Player tool" |
| 10 | ToolPlugin |
| 11 | playertool.h |
| 12 | PlayerTool |
| 13 | "playertool.cpp" |
| 14 | "" |
| 15 | playertool.qrc |
| 16 | ) |
| 17 | |
| 18 | target_link_libraries(PlayerTool |
| 19 | PRIVATE |
| 20 | gwavi |
| 21 | gif-h |
| 22 | Avogadro::QtOpenGL) |
| 23 | |
| 24 | if(QT_VERSION EQUAL 6) |
| 25 | target_link_libraries(PlayerTool |
| 26 | PRIVATE |
| 27 | Qt6::OpenGL |
| 28 | Qt6::OpenGLWidgets) |
| 29 | endif() |