cmake: Fix X11/XWDFile.h header detection.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/10/head
Slávek Banko 1 year ago
parent b6c5fd7f2c
commit 3de53226da
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -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( )

Loading…
Cancel
Save