Moving from govendor to dep, updated dependencies (#48)
* Moving from govendor to dep. * Making the pull request template more friendly. * Fixing akward space in PR template. * goimports run on whole project using ` goimports -w $(find . -type f -name '*.go' -not -path "./vendor/*" -not -path "./gen-go/*")` source of command: https://gist.github.com/bgentry/fd1ffef7dbde01857f66
This commit is contained in:
parent
9631aa3aab
commit
8d445c1c77
2186 changed files with 400410 additions and 352 deletions
41
vendor/git.apache.org/thrift.git/build/cmake/FindLibevent.cmake
generated
vendored
Normal file
41
vendor/git.apache.org/thrift.git/build/cmake/FindLibevent.cmake
generated
vendored
Normal file
|
@ -0,0 +1,41 @@
|
|||
# find LibEvent
|
||||
# an event notification library (http://libevent.org/)
|
||||
#
|
||||
# Usage:
|
||||
# LIBEVENT_INCLUDE_DIRS, where to find LibEvent headers
|
||||
# LIBEVENT_LIBRARIES, LibEvent libraries
|
||||
# Libevent_FOUND, If false, do not try to use libevent
|
||||
|
||||
set(LIBEVENT_ROOT CACHE PATH "Root directory of libevent installation")
|
||||
set(LibEvent_EXTRA_PREFIXES /usr/local /opt/local "$ENV{HOME}" ${LIBEVENT_ROOT})
|
||||
foreach(prefix ${LibEvent_EXTRA_PREFIXES})
|
||||
list(APPEND LibEvent_INCLUDE_PATHS "${prefix}/include")
|
||||
list(APPEND LibEvent_LIBRARIES_PATHS "${prefix}/lib")
|
||||
endforeach()
|
||||
|
||||
find_path(LIBEVENT_INCLUDE_DIRS event.h PATHS ${LibEvent_INCLUDE_PATHS})
|
||||
# "lib" prefix is needed on Windows
|
||||
find_library(LIBEVENT_LIBRARIES NAMES event libevent PATHS ${LibEvent_LIBRARIES_PATHS})
|
||||
|
||||
if (LIBEVENT_LIBRARIES AND LIBEVENT_INCLUDE_DIRS)
|
||||
set(Libevent_FOUND TRUE)
|
||||
set(LIBEVENT_LIBRARIES ${LIBEVENT_LIBRARIES})
|
||||
else ()
|
||||
set(Libevent_FOUND FALSE)
|
||||
endif ()
|
||||
|
||||
if (Libevent_FOUND)
|
||||
if (NOT Libevent_FIND_QUIETLY)
|
||||
message(STATUS "Found libevent: ${LIBEVENT_LIBRARIES}")
|
||||
endif ()
|
||||
else ()
|
||||
if (LibEvent_FIND_REQUIRED)
|
||||
message(FATAL_ERROR "Could NOT find libevent.")
|
||||
endif ()
|
||||
message(STATUS "libevent NOT found.")
|
||||
endif ()
|
||||
|
||||
mark_as_advanced(
|
||||
LIBEVENT_LIBRARIES
|
||||
LIBEVENT_INCLUDE_DIRS
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue