From 3de53226da36ff255ac18118b0f54d608fabc16c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Mon, 23 Oct 2023 04:02:28 +0200 Subject: [PATCH] cmake: Fix X11/XWDFile.h header detection. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- ConfigureChecks.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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( )