diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 2206bc9..5914777 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -356,8 +356,8 @@ endif( ) ##### checks for xwd codec ##### if( BUILD_XWD ) - find_file( HAVE_XWDFILE_H "XWDFile.h" ) + find_file( HAVE_XWDFILE_H "XWDFile.h" PATH_SUFFIXES "X11" ) if( NOT HAVE_XWDFILE_H ) - tde_message_fatal( "xwd codec was requested but xwdfile.h not found on your system" ) + tde_message_fatal( "xwd codec was requested but X11/XWDFile.h not found on your system" ) endif( ) endif( )