1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-04-10 07:38:06 -05:00

Fix Unix builds with PUTTY_GSSAPI=OFF.

This commit is contained in:
Jacob Nevins 2022-05-28 12:56:50 +01:00
parent 1952519c60
commit eb7f5aff5c

View File

@ -123,6 +123,10 @@ cannot provide static GSSAPI support")
endif()
endif()
if(PUTTY_GSSAPI STREQUAL OFF)
set(NO_GSSAPI ON)
endif()
if(STRICT AND (CMAKE_C_COMPILER_ID MATCHES "GNU" OR
CMAKE_C_COMPILER_ID MATCHES "Clang"))
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Werror -Wpointer-arith -Wvla")