CMakeLists.txt 401 B

1234567891011121314
  1. #
  2. # Copyright (c) 2020 Actions Semiconductor
  3. #
  4. # SPDX-License-Identifier: LicenseRef-BSD-5-Clause-Actions
  5. #
  6. if (CONFIG_ACTS_BT)
  7. if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/libbt_trans/CMakeLists.txt)
  8. add_subdirectory(libbt_trans)
  9. else()
  10. zephyr_library_include_directories(${CMAKE_CURRENT_LIST_DIR})
  11. zephyr_library_import(bt_trans ${CMAKE_CURRENT_LIST_DIR}/libbt_trans.a)
  12. endif()
  13. endif()