Skip to content
Snippets Groups Projects
Commit affdb817 authored by Gesner Passos's avatar Gesner Passos
Browse files

Add support for the https for libgit2

re #6175
parent fb8179cc
No related branches found
No related tags found
No related merge requests found
......@@ -107,6 +107,12 @@ else()
set_source_files_properties ( ${LIBGIT2_SRC}
PROPERTIES COMPILE_FLAGS "-w" )
endif()
# add support for ssl for the transport https
IF (OPENSSL_FOUND)
ADD_DEFINITIONS(-DGIT_SSL)
INCLUDE_DIRECTORIES(${OPENSSL_INCLUDE_DIR})
SET(SSL_LIBRARIES ${OPENSSL_LIBRARIES})
ENDIF()
# Add the target for this directory
add_library ( ScriptRepository ${SRC_FILES} ${LIBGIT2_SRC} ${INC_FILES} )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment