cmake: Fix X11/XWDFile.h header detection.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 3de53226da)
r14.1.x
Slávek Banko 7 months ago
parent 82528b267c
commit d4e96a34a5
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