diff options
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r-- | ConfigureChecks.cmake | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 6460319..0d7a03a 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -23,3 +23,27 @@ tde_setup_largefiles( ) if( WITH_GCC_VISIBILITY ) tde_setup_gcc_visibility( ) endif( WITH_GCC_VISIBILITY ) + + +##### check for zlib + +find_package( ZLIB ) +if( NOT ZLIB_FOUND ) + tde_message_fatal( "zlib is required, but not found on your system" ) +endif( ) + + +##### check for bzip2 + +find_package( BZip2 ) +if( NOT BZIP2_FOUND ) + tde_message_fatal( "bzip2 is required, but not found on your system" ) +endif( ) + + +##### check for expat + +find_package( EXPAT ) +if( NOT EXPAT_FOUND ) + tde_message_fatal( "expat support is required but not found on your system." ) +endif() |