13 # Note that the CMakeLists.txt file is present only in
14 # git repo and not in the release tarball, so take care
15 # to use the github generated source tarball rather than
16 # the explicitly uploaded source tarball
18 url = https://github.com/libevent/libevent/releases/download/release-2.1.12-stable/libevent-2.1.12-stable.tar.gz
19 sha256 = 92e6de1be9ec176428fd2367677e61ceffc2ee1cb119035037a27d346b0403bb
23 subdir = libevent-2.1.12-stable
26 EVENT__DISABLE_TESTS = ON
27 EVENT__DISABLE_BENCHMARK = ON
28 EVENT__DISABLE_SAMPLES = ON
29 EVENT__DISABLE_REGRESS = ON
31 [cmake.defines.shared_libs=on]
32 EVENT__BUILD_SHARED_LIBRARIES = ON
34 [cmake.defines.os=windows]
35 EVENT__LIBRARY_TYPE = STATIC
37 [dependencies.not(any(os=linux, os=freebsd))]