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.
11 lines
333 B
CMake
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()
|