Commit 53a8e6a
CMake: link with Qt6 cmake targets
Using Qt6::DBus / Qt6::Core is more robust than relying on the
Qt6Core_LIBRARIES / Qt6DBus_LIBRARIES libraries.
It seems that not every Qt installation provides these variables. This
most notably fixes compilation against conan-provided Qt1 parent 2b5a3f4 commit 53a8e6a
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
109 | | - | |
| 108 | + | |
110 | 109 | | |
111 | 110 | | |
112 | 111 | | |
| |||
126 | 125 | | |
127 | 126 | | |
128 | 127 | | |
129 | | - | |
| 128 | + | |
130 | 129 | | |
131 | 130 | | |
132 | 131 | | |
| |||
0 commit comments