Skip to content

Commit e1be28c

Browse files
committed
cmake: remove unused STDCALL option
The `STDCALL` option was removed; remove the (unreachable) error message.
1 parent 8507bf8 commit e1be28c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,6 @@ ENDIF()
9797

9898
# Platform specific compilation flags
9999
IF (MSVC)
100-
IF (STDCALL)
101-
MESSAGE(FATAL_ERROR "The STDCALL option is no longer supported; libgit2 is now always built as a cdecl library. If you're using PInvoke, please add the CallingConventions.Cdecl attribute for support.")
102-
ENDIF()
103-
104100
ADD_DEFINITIONS(-D_SCL_SECURE_NO_WARNINGS)
105101
ADD_DEFINITIONS(-D_CRT_SECURE_NO_DEPRECATE)
106102
ADD_DEFINITIONS(-D_CRT_NONSTDC_NO_DEPRECATE)

0 commit comments

Comments
 (0)