# HG changeset patch # User Sebastien Jodogne # Date 1744124226 -7200 # Node ID 0fb1c1e6373f1482d668ae61cdfe5afa70842138 # Parent e6bd4fa3c71e0cb1cc2477a6cb4c1a103e749f43 detect HAVE_SEARCH_H to fix build on Win64 diff -r e6bd4fa3c71e -r 0fb1c1e6373f Resources/CMake/LibTiffConfiguration.cmake --- a/Resources/CMake/LibTiffConfiguration.cmake Tue Apr 08 15:55:27 2025 +0200 +++ b/Resources/CMake/LibTiffConfiguration.cmake Tue Apr 08 16:57:06 2025 +0200 @@ -78,6 +78,12 @@ add_definitions(-DHAVE_SNPRINTF=1) endif() + # This is needed since WSI 3.2 on physical Win64 BuilBbot + check_symbol_exists(lfind "search.h" HAVE_SEARCH_H) + if (HAVE_SEARCH_H) + add_definitions(-DHAVE_SEARCH_H=1) + endif() + if (MSVC) # The "%" must be escaped if using Visual Studio add_definitions(