avogadro/qtplugins/importpqr/CMakeLists.txt
raw| 1 | # Extension |
| 2 | set(importpqr_srcs |
| 3 | importpqr.cpp |
| 4 | pqrwidget.cpp |
| 5 | pqrrequest.cpp |
| 6 | ) |
| 7 | |
| 8 | avogadro_plugin(ImportPQR |
| 9 | "Download molecules from the Pitt Quantum Repository" |
| 10 | ExtensionPlugin |
| 11 | importpqr.h |
| 12 | ImportPQR |
| 13 | "${importpqr_srcs}" |
| 14 | pqrwidget.ui |
| 15 | "" |
| 16 | ) |
| 17 | |
| 18 | target_link_libraries(ImportPQR PRIVATE Qt::Network nlohmann_json::nlohmann_json) |
| 19 | |
| 20 | if(WIN32) |
| 21 | # for https support |
| 22 | target_link_libraries(ImportPQR PRIVATE OpenSSL::SSL OpenSSL::Crypto OpenSSL::applink) |
| 23 | endif() |