diff options
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r-- | ConfigureChecks.cmake | 7 |
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( ) |