aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/libevent/event_openssl/CMakeLists.txt
blob: 153d58e7b0344321c4c8647b0a65a1e5688afcc3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
add_library(libs-libevent-event_openssl)
target_compile_options(libs-libevent-event_openssl PRIVATE
  -DHAVE_CONFIG_H
  -DEVENT__HAVE_STRLCPY=1
)
target_include_directories(libs-libevent-event_openssl PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/libs/libevent
  ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/include
)
target_link_libraries(libs-libevent-event_openssl PUBLIC
  contrib-libs-libc_compat
)
target_sources(libs-libevent-event_openssl PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/bufferevent_openssl.c
)