Sha256: 2916180fa2c0aa79f65866e5b0ff5b1c560cd4e0cd1b8a5162d401b660b4b6c9

Contents?: true

Size: 664 Bytes

Versions: 10

Compression:

Stored size: 664 Bytes

Contents

if(WIN32 AND USE_WINHTTP)
	set(GIT_WINHTTP 1)

	# Since MinGW does not come with headers or an import library for winhttp,
	# we have to include a private header and generate our own import library
	if(MINGW)
		add_subdirectory("${PROJECT_SOURCE_DIR}/deps/winhttp" "${PROJECT_BINARY_DIR}/deps/winhttp")
		list(APPEND LIBGIT2_SYSTEM_LIBS winhttp)
		list(APPEND LIBGIT2_DEPENDENCY_INCLUDES "${PROJECT_SOURCE_DIR}/deps/winhttp")
	else()
		list(APPEND LIBGIT2_SYSTEM_LIBS "winhttp")
		list(APPEND LIBGIT2_PC_LIBS "-lwinhttp")
	endif()

	list(APPEND LIBGIT2_SYSTEM_LIBS "rpcrt4" "crypt32" "ole32")
	list(APPEND LIBGIT2_PC_LIBS "-lrpcrt4" "-lcrypt32" "-lole32")
endif()

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rugged-1.6.5 vendor/libgit2/cmake/SelectWinHTTP.cmake
rugged-1.6.3 vendor/libgit2/cmake/SelectWinHTTP.cmake
rugged-1.6.2 vendor/libgit2/cmake/SelectWinHTTP.cmake
rugged-1.5.1 vendor/libgit2/cmake/SelectWinHTTP.cmake
rugged-1.4.5 vendor/libgit2/cmake/SelectWinHTTP.cmake
rugged-1.5.0.1 vendor/libgit2/cmake/SelectWinHTTP.cmake
rugged-1.5.0 vendor/libgit2/cmake/SelectWinHTTP.cmake
rugged-1.4.4 vendor/libgit2/cmake/SelectWinHTTP.cmake
rugged-1.4.3 vendor/libgit2/cmake/SelectWinHTTP.cmake
rugged-1.4.2 vendor/libgit2/cmake/SelectWinHTTP.cmake