diff options
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r-- | ConfigureChecks.cmake | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 9fa91c17..482187b2 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -124,7 +124,10 @@ endif() ##### checks for libtiff -find_package( TIFF ) +pkg_search_module( TIFF libtiff-4 ) +if( NOT TIFF_FOUND ) + find_package( TIFF ) +endif( ) if( NOT TIFF_FOUND ) tde_message_fatal( "libtiff is required but not found on your system" ) endif( ) |