Author: brane Date: Fri May 30 15:08:25 2025 New Revision: 1925989 URL: http://svn.apache.org/viewvc?rev=1925989&view=rev Log: * CMakeLists.txt: Don't look for GSSAPI on Windows.
Modified: serf/trunk/CMakeLists.txt Modified: serf/trunk/CMakeLists.txt URL: http://svn.apache.org/viewvc/serf/trunk/CMakeLists.txt?rev=1925989&r1=1925988&r2=1925989&view=diff ============================================================================== --- serf/trunk/CMakeLists.txt (original) +++ serf/trunk/CMakeLists.txt Fri May 30 15:08:25 2025 @@ -235,7 +235,15 @@ find_package(APRUtil REQUIRED) # Find optional dependencies find_package(BROTLI) -find_package(GSSAPI) +if(NOT SERF_WINDOWS) + find_package(GSSAPI) +else() + # We use SSPI on Windows and there's no Kerberos/GSSAPI port there. + set(GSSAPI_FOUND FALSE) + if(DEFINED GSSAPI_ROOT) + message(WARNING "option GSSAPI_ROOT is not implemented on this platform") + endif() +endif() # Calculate the set of private and public targets set(SERF_PRIVATE_TARGETS OpenSSL::Crypto OpenSSL::SSL ZLIB::ZLIB)