File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 4
4
5
5
CMAKE_MINIMUM_REQUIRED (VERSION 2.8.12 FATAL_ERROR )
6
6
INCLUDE (CheckFunctionExists )
7
+ INCLUDE (FeatureSummary )
7
8
IF (COMMAND CMAKE_POLICY )
8
9
SET (NEW_POLICIES CMP0003 CMP0022 CMP0023 CMP0057 CMP0077 CMP0069 CMP0075 )
9
10
FOREACH (TYPE OLD NEW )
@@ -387,7 +388,8 @@ IF(NOT REMOTEIO_PLUGIN_TYPE MATCHES "OFF")
387
388
ENDIF ()
388
389
IF (NOT WIN32 )
389
390
IF (NOT AUTH_GSSAPI_PLUGIN_TYPE MATCHES "OFF" )
390
- INCLUDE (${CC_SOURCE_DIR} /cmake/FindGSSAPI.cmake )
391
+ FIND_PACKAGE (GSSAPI )
392
+ SET_PACKAGE_PROPERTIES (GSSAPI PROPERTIES TYPE OPTIONAL )
391
393
IF (GSSAPI_FOUND )
392
394
INCLUDE_DIRECTORIES (${GSSAPI_INCS} )
393
395
IF (AUTH_GSSAPI_PLUGIN_TYPE MATCHES "STATIC" )
Original file line number Diff line number Diff line change @@ -96,7 +96,8 @@ ENDIF()
96
96
97
97
#GSSAPI client authentication plugin
98
98
IF (NOT WIN32 )
99
- INCLUDE (${CC_SOURCE_DIR} /cmake/FindGSSAPI.cmake )
99
+ FIND_PACKAGE (GSSAPI )
100
+ SET_PACKAGE_PROPERTIES (GSSAPI PROPERTIES TYPE OPTIONAL )
100
101
IF (GSSAPI_FOUND )
101
102
SET (GSSAPI_SOURCES ${AUTH_DIR} /auth_gssapi_client.c ${AUTH_DIR} /gssapi_client.c ${AUTH_DIR} /gssapi_errmsg.c )
102
103
IF (CMAKE_VERSION VERSION_GREATER 3.18 )
You can’t perform that action at this time.
0 commit comments