CMakeLists.txt 1.2 KB

12345678910111213141516171819202122232425262728293031
  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(contrib-libs-farmhash)
  7. target_include_directories(contrib-libs-farmhash PUBLIC
  8. ${CMAKE_SOURCE_DIR}/contrib/libs/farmhash/include
  9. )
  10. target_include_directories(contrib-libs-farmhash PRIVATE
  11. ${CMAKE_SOURCE_DIR}/contrib/libs/farmhash/include
  12. )
  13. target_link_libraries(contrib-libs-farmhash PUBLIC
  14. contrib-libs-cxxsupp
  15. yutil
  16. farmhash-arch-sse41
  17. farmhash-arch-sse42
  18. farmhash-arch-sse42_aesni
  19. )
  20. target_sources(contrib-libs-farmhash PRIVATE
  21. ${CMAKE_SOURCE_DIR}/contrib/libs/farmhash/farmhashuo.cc
  22. ${CMAKE_SOURCE_DIR}/contrib/libs/farmhash/farmhashxo.cc
  23. ${CMAKE_SOURCE_DIR}/contrib/libs/farmhash/farmhashna.cc
  24. ${CMAKE_SOURCE_DIR}/contrib/libs/farmhash/farmhashmk.cc
  25. ${CMAKE_SOURCE_DIR}/contrib/libs/farmhash/farmhashcc.cc
  26. ${CMAKE_SOURCE_DIR}/contrib/libs/farmhash/farmhash_iface.cc
  27. )