diff options
author | Michele Calgaro <[email protected]> | 2024-05-24 18:16:33 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-05-24 18:16:33 +0900 |
commit | bfc2deaeb62c397939be2d36d1e484931a8c55db (patch) | |
tree | e6c6fde3e8214a4f6d3d706ad61a06dec110d21f /ConfigureChecks.cmake | |
parent | 247d5d3bd6fec5350e498c2cb0eb1505f97abc2e (diff) | |
download | tde-ebook-reader-bfc2deaeb62c397939be2d36d1e484931a8c55db.tar.gz tde-ebook-reader-bfc2deaeb62c397939be2d36d1e484931a8c55db.zip |
Add libzlcore-tqt cmake files. Currently, this builds with a dummy TQt3-based GUI
Signed-off-by: Michele Calgaro <[email protected]>
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() |