CMakeLists.linux-aarch64.txt 1.1 KB

12345678910111213141516171819202122232425262728
  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(contrib-libs-libcap)
  7. target_compile_options(contrib-libs-libcap PRIVATE
  8. $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
  9. )
  10. target_include_directories(contrib-libs-libcap PUBLIC
  11. ${CMAKE_SOURCE_DIR}/contrib/libs/libcap/include
  12. )
  13. target_link_libraries(contrib-libs-libcap PUBLIC
  14. contrib-libs-linux-headers
  15. contrib-libs-cxxsupp
  16. )
  17. target_sources(contrib-libs-libcap PRIVATE
  18. ${CMAKE_SOURCE_DIR}/contrib/libs/libcap/cap_alloc.c
  19. ${CMAKE_SOURCE_DIR}/contrib/libs/libcap/cap_extint.c
  20. ${CMAKE_SOURCE_DIR}/contrib/libs/libcap/cap_file.c
  21. ${CMAKE_SOURCE_DIR}/contrib/libs/libcap/cap_flag.c
  22. ${CMAKE_SOURCE_DIR}/contrib/libs/libcap/cap_proc.c
  23. ${CMAKE_SOURCE_DIR}/contrib/libs/libcap/cap_text.c
  24. )