summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2021-11-05 18:54:42 +0900
committerMichele Calgaro <[email protected]>2021-11-05 18:54:42 +0900
commiteb2210c94488f6c57159fede9a98891e4f3a1a52 (patch)
tree5a00e2f85696aef16ef7bf9c1655f0ca76243195 /ConfigureChecks.cmake
parent58baf01dab5d45b890534bf8a1eb42d677332407 (diff)
downloadpolkit-tqt-eb2210c94488f6c57159fede9a98891e4f3a1a52.tar.gz
polkit-tqt-eb2210c94488f6c57159fede9a98891e4f3a1a52.zip
More conversion polkitqt1 -> polkit-tqt.
Started conversion of 'core' library module. Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index fef675949..49045b496 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -22,6 +22,13 @@ tde_setup_largefiles( )
# tqt
find_package( TQt )
+# polkit
+pkg_search_module( POLKIT polkit-gobject-1 )
+if( NOT POLKIT_FOUND )
+ tde_message_fatal( "polkit is required, but was not found on your system" )
+endif( )
+
+
# gcc visibility
if( WITH_GCC_VISIBILITY )
tde_setup_gcc_visibility( )