cmake: use CMAKE_C_STANDARD and CMAKE_C_EXTENSIONS

cmake already provides a standard way for callers to override the
C_STANDARD and C_EXTENSIONS properties. Support and document those.
This commit is contained in:
Edward Thomson
2024-10-19 13:18:04 +01:00
parent 6ea625cdad
commit d090433ef1
12 changed files with 4 additions and 36 deletions

View File

@@ -37,4 +37,3 @@ else()
endif()
add_library(ntlmclient OBJECT ${SRC_NTLMCLIENT} ${SRC_NTLMCLIENT_UNICODE} ${SRC_NTLMCLIENT_CRYPTO})
set_target_properties(ntlmclient PROPERTIES C_STANDARD 90)