CMakeLists.txt 912 B

123456789101112131415161718192021222324
  1. # This file was gererated by the build system used internally in the Yandex monorepo.
  2. # Only simple modifications are allowed (adding source-files to targets, adding simple properties
  3. # like target_include_directories). These modifications will be ported to original
  4. # ya.make files by maintainers. Any complex modifications which can't be ported back to the
  5. # original buildsystem will not be accepted.
  6. add_library(libs-libevent-event_thread)
  7. target_compile_options(libs-libevent-event_thread PRIVATE
  8. -DHAVE_CONFIG_H
  9. -DEVENT__HAVE_STRLCPY=1
  10. )
  11. target_include_directories(libs-libevent-event_thread PRIVATE
  12. ${CMAKE_SOURCE_DIR}/contrib/libs/libevent
  13. ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/include
  14. )
  15. target_link_libraries(libs-libevent-event_thread PUBLIC
  16. contrib-libs-libc_compat
  17. )
  18. target_sources(libs-libevent-event_thread PRIVATE
  19. ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/evthread_pthread.c
  20. )