diff options
author | aneejit1 <[email protected]> | 2022-05-03 12:30:32 +0000 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2022-05-03 15:34:11 +0200 |
commit | 6c3c07ec7cb0811c9a05b759426ca7cebbb9ecbe (patch) | |
tree | 874b24733880f718a251a803f93c1703702154d4 | |
parent | 371a1fed23b4dad85b6101914b065d902e5a6ce7 (diff) | |
download | polkit-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 <[email protected]>
(cherry picked from commit 89acf6a1fd5124e58cc87fb0b26ef8954e257667)
-rw-r--r-- | agent/CMakeLists.txt | 1 | ||||
-rw-r--r-- | core/CMakeLists.txt | 1 | ||||
-rw-r--r-- | gui/CMakeLists.txt | 1 |
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} ) |