summaryrefslogtreecommitdiff
blob: b29f3afe7613f2fbc54ab0137fd33699fabcbc22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Fix underlinking problems in shared libraries.

--- avogadrolibs-0.8.0/avogadro/qtplugins/apbs/CMakeLists.txt
+++ avogadrolibs-0.8.0/avogadro/qtplugins/apbs/CMakeLists.txt
@@ -23,4 +23,4 @@
   "${apbs_uis}"
 )
 
-target_link_libraries(apbs LINK_PRIVATE AvogadroIO MoleQueueClient)
+target_link_libraries(apbs LINK_PRIVATE AvogadroIO MoleQueueClient AvogadroMoleQueue)
--- avogadrolibs-0.8.0/avogadro/qtplugins/playertool/CMakeLists.txt
+++ avogadrolibs-0.8.0/avogadro/qtplugins/playertool/CMakeLists.txt
@@ -7,3 +7,5 @@
   ""
   playertool.qrc
 )
+
+target_link_libraries(PlayerTool LINK_PRIVATE Qt5OpenGL)
--- avogadrolibs-0.8.0/avogadro/qtplugins/povray/CMakeLists.txt
+++ avogadrolibs-0.8.0/avogadro/qtplugins/povray/CMakeLists.txt
@@ -8,3 +8,5 @@
   "povray.cpp"
   ""
 )
+
+target_link_libraries(POVRay LINK_PRIVATE AvogadroRendering)
--- avogadrolibs-0.8.0/avogadro/qtplugins/qtaim/CMakeLists.txt
+++ avogadrolibs-0.8.0/avogadro/qtplugins/qtaim/CMakeLists.txt
@@ -34,3 +34,5 @@
 
 target_link_libraries(QTAIMScenePlugin
   LINK_PRIVATE AvogadroRendering ${Qt5Concurrent_LIBRARIES})
+target_link_libraries(QTAIMExtension
+  LINK_PRIVATE ${Qt5Concurrent_LIBRARIES})