summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraneejit1 <aneejit1@gmail.com>2022-05-03 12:30:32 +0000
committeraneejit1 <aneejit1@gmail.com>2022-05-03 12:30:32 +0000
commit89acf6a1fd5124e58cc87fb0b26ef8954e257667 (patch)
tree4ae0eec364fcbf3f009c7de08a321f21a5cf17de
parentfc35cfac1604210f9128108538056d7a72d4e592 (diff)
downloadpolkit-tqt-89acf6a1.tar.gz
polkit-tqt-89acf6a1.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>
-rw-r--r--agent/CMakeLists.txt1
-rw-r--r--core/CMakeLists.txt1
-rw-r--r--gui/CMakeLists.txt1
3 files changed, 3 insertions, 0 deletions
diff --git a/agent/CMakeLists.txt b/agent/CMakeLists.txt
index e559805b8..7022b23c8 100644
--- a/agent/CMakeLists.txt
+++ b/agent/CMakeLists.txt
@@ -21,6 +21,7 @@ include_directories(
link_directories(
${TQT_LIBRARY_DIRS}
+ ${POLKIT_GOBJECT_LIBRARY_DIRS}
)
diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt
index 7063673c5..7e1e8c6ce 100644
--- a/core/CMakeLists.txt
+++ b/core/CMakeLists.txt
@@ -19,6 +19,7 @@ include_directories(
link_directories(
${TQT_LIBRARY_DIRS}
+ ${POLKIT_GOBJECT_LIBRARY_DIRS}
)
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}
)