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
be29dd82
Commit
be29dd82
authored
Jan 13, 2014
by
Vicent Marti
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2040 from scunz/cmake_msgs
Show informational messages during cmake run as informational
parents
9dcd8cee
86f92b74
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
CMakeLists.txt
+3
-3
No files found.
CMakeLists.txt
View file @
be29dd82
...
@@ -136,7 +136,7 @@ ELSE ()
...
@@ -136,7 +136,7 @@ ELSE ()
LINK_LIBRARIES
(
${
HTTP_PARSER_LIBRARIES
}
)
LINK_LIBRARIES
(
${
HTTP_PARSER_LIBRARIES
}
)
SET
(
LIBGIT2_PC_LIBS
"
${
LIBGIT2_PC_LIBS
}
-lhttp_parser"
)
SET
(
LIBGIT2_PC_LIBS
"
${
LIBGIT2_PC_LIBS
}
-lhttp_parser"
)
ELSE
()
ELSE
()
MESSAGE
(
"http-parser was not found or is too old; using bundled 3rd-party sources."
)
MESSAGE
(
STATUS
"http-parser was not found or is too old; using bundled 3rd-party sources."
)
INCLUDE_DIRECTORIES
(
deps/http-parser
)
INCLUDE_DIRECTORIES
(
deps/http-parser
)
FILE
(
GLOB SRC_HTTP deps/http-parser/*.c deps/http-parser/*.h
)
FILE
(
GLOB SRC_HTTP deps/http-parser/*.c deps/http-parser/*.h
)
ENDIF
()
ENDIF
()
...
@@ -177,9 +177,9 @@ IF (ZLIB_FOUND)
...
@@ -177,9 +177,9 @@ IF (ZLIB_FOUND)
SET
(
LIBGIT2_PC_REQUIRES
"
${
LIBGIT2_PC_REQUIRES
}
zlib"
)
SET
(
LIBGIT2_PC_REQUIRES
"
${
LIBGIT2_PC_REQUIRES
}
zlib"
)
ENDIF
()
ENDIF
()
# Fake the message CMake would have shown
# Fake the message CMake would have shown
MESSAGE
(
"--
Found zlib:
${
ZLIB_LIBRARY
}
"
)
MESSAGE
(
STATUS
"
Found zlib:
${
ZLIB_LIBRARY
}
"
)
ELSE
()
ELSE
()
MESSAGE
(
"zlib was not found; using bundled 3rd-party sources."
)
MESSAGE
(
STATUS
"zlib was not found; using bundled 3rd-party sources."
)
INCLUDE_DIRECTORIES
(
deps/zlib
)
INCLUDE_DIRECTORIES
(
deps/zlib
)
ADD_DEFINITIONS
(
-DNO_VIZ -DSTDC -DNO_GZIP
)
ADD_DEFINITIONS
(
-DNO_VIZ -DSTDC -DNO_GZIP
)
FILE
(
GLOB SRC_ZLIB deps/zlib/*.c deps/zlib/*.h
)
FILE
(
GLOB SRC_ZLIB deps/zlib/*.c deps/zlib/*.h
)
...
...
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