mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-08 15:52:02 +00:00
Merge pull request #2040 from scunz/cmake_msgs
Show informational messages during cmake run as informational
This commit is contained in:
commit
be29dd82e2
@ -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)
|
|||||||
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user