CMakeLists.txt 864 B

1234567891011121314151617181920212223
  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-brotli-common)
  7. target_compile_options(libs-brotli-common PRIVATE
  8. -DBROTLI_BUILD_PORTABLE
  9. )
  10. target_include_directories(libs-brotli-common PRIVATE
  11. ${CMAKE_SOURCE_DIR}/contrib/libs/brotli/include
  12. )
  13. target_link_libraries(libs-brotli-common PUBLIC
  14. contrib-libs-cxxsupp
  15. )
  16. target_sources(libs-brotli-common PRIVATE
  17. ${CMAKE_SOURCE_DIR}/contrib/libs/brotli/common/dictionary.c
  18. ${CMAKE_SOURCE_DIR}/contrib/libs/brotli/common/transform.c
  19. )