summaryrefslogtreecommitdiffstats
path: root/gui
diff options
context:
space:
mode:
authoraneejit1 <aneejit1@gmail.com>2022-05-03 12:30:32 +0000
committerSlávek Banko <slavek.banko@axis.cz>2022-05-03 15:34:11 +0200
commit6c3c07ec7cb0811c9a05b759426ca7cebbb9ecbe (patch)
tree874b24733880f718a251a803f93c1703702154d4 /gui
parent371a1fed23b4dad85b6101914b065d902e5a6ce7 (diff)
downloadpolkit-tqt-6c3c07ec7cb0811c9a05b759426ca7cebbb9ecbe.tar.gz
polkit-tqt-6c3c07ec7cb0811c9a05b759426ca7cebbb9ecbe.zip
Add POLKIT_GOBJECT_LIBRARY_DIRS to the link_directories
Add the library paths for the glib/gobject libraries to the list of link_directories in the CMakeLists.txt files for core, gui, and agent subdirectories to cater for glib not being in /usr. Signed-off-by: aneejit1 <aneejit1@gmail.com> (cherry picked from commit 89acf6a1fd5124e58cc87fb0b26ef8954e257667)
Diffstat (limited to 'gui')
-rw-r--r--gui/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/CMakeLists.txt b/gui/CMakeLists.txt
index 4cfd453ae..fd3c6a1f5 100644
--- a/gui/CMakeLists.txt
+++ b/gui/CMakeLists.txt
@@ -20,6 +20,7 @@ include_directories(
link_directories(
${TQT_LIBRARY_DIRS}
+ ${POLKIT_GOBJECT_LIBRARY_DIRS}
)