mirror of
https://github.com/libgit2/libgit2.git
synced 2026-06-22 06:26:26 +00:00
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:
1
deps/ntlmclient/CMakeLists.txt
vendored
1
deps/ntlmclient/CMakeLists.txt
vendored
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user