CMakeLists.txt 259 B

12345678910111213141516
  1. # Copyright (c) 2020 Linumiz
  2. # SPDX-License-Identifier: Apache-2.0
  3. if(CONFIG_LZ4)
  4. set(LZ4_DIR ${ZEPHYR_CURRENT_MODULE_DIR})
  5. zephyr_library()
  6. zephyr_include_directories(${LZ4_DIR}/lib)
  7. zephyr_library_sources(
  8. ${LZ4_DIR}/lib/lz4.c
  9. )
  10. endif()