summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2023-10-23 04:02:28 +0200
committerSlávek Banko <[email protected]>2023-10-23 07:14:03 +0200
commitd4e96a34a58f9866c1f674ee89f1dc2397f0d27a (patch)
tree3720bb768f90a326bff68a48dcad3920dbed28c3
parent82528b267c9ed2898653873d027184e21e36f569 (diff)
downloadlibksquirrel-d4e96a34a58f9866c1f674ee89f1dc2397f0d27a.tar.gz
libksquirrel-d4e96a34a58f9866c1f674ee89f1dc2397f0d27a.zip
cmake: Fix X11/XWDFile.h header detection.
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 3de53226da36ff255ac18118b0f54d608fabc16c)
-rw-r--r--ConfigureChecks.cmake4
1 files 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( )