bladeRF/host/libraries/CMakeLists.txt
Ryan Thompson f046180604 host: CMake minimum version bump to 3.5
Accommodates the following warning issued by CMake v3.27.1.

CMake Deprecation Warning:
  Compatibility with CMake < 3.5 will be removed from a 
  future version of CMake.
2023-10-31 10:28:21 -05:00

11 lines
333 B
CMake

cmake_minimum_required(VERSION 3.5)
add_subdirectory(libbladeRF)
# Conditionally add the test directory
option(TEST_LIBBLADERF "Enables libbladeRF test output" ON)
if(TEST_LIBBLADERF)
message(STATUS "libbladeRF_test: enabled")
add_subdirectory(libbladeRF_test)
else()
message(STATUS "libbladeRF_test: disabled")
endif()