CMakeLists.darwin-x86_64.txt 961 B

12345678910111213141516171819202122232425
  1. # This file was generated 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. $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
  11. )
  12. target_include_directories(libs-libevent-event_thread PRIVATE
  13. ${CMAKE_SOURCE_DIR}/contrib/libs/libevent
  14. ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/include
  15. )
  16. target_link_libraries(libs-libevent-event_thread PUBLIC
  17. contrib-libs-libc_compat
  18. )
  19. target_sources(libs-libevent-event_thread PRIVATE
  20. ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/evthread_pthread.c
  21. )