Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
1bfe7133
Commit
1bfe7133
authored
Oct 25, 2013
by
Edward Thomson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow -DWINHTTP=OFF to disable WinHTTP
parent
fd5d80d2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
CMakeLists.txt
+5
-1
No files found.
CMakeLists.txt
View file @
1bfe7133
...
...
@@ -48,6 +48,10 @@ IF(MSVC)
# This option must match the settings used in your program, in particular if you
# are linking statically
OPTION
(
STATIC_CRT
"Link the static CRT libraries"
ON
)
# By default, libgit2 is built with WinHTTP. To use the built-in
# HTTP transport, invoke CMake with the "-DWINHTTP=OFF" argument.
OPTION
(
WINHTTP
"Use Win32 WinHTTP routines"
ON
)
ENDIF
()
# This variable will contain the libraries we need to put into
...
...
@@ -120,7 +124,7 @@ SET(LIBGIT2_VERSION_STRING "${LIBGIT2_VERSION_MAJOR}.${LIBGIT2_VERSION_MINOR}.${
# Find required dependencies
INCLUDE_DIRECTORIES
(
src include
)
IF
(
WIN32 AND NOT MINGW
)
IF
(
WIN32 AND
WINHTTP AND
NOT MINGW
)
ADD_DEFINITIONS
(
-DGIT_WINHTTP
)
ELSE
()
IF
(
NOT AMIGA
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment