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