Convert remaining tests and samples to using find_package() instead of literally including the CMake boilerplate code. Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
9 lines
231 B
CMake
9 lines
231 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
cmake_minimum_required(VERSION 3.20.0)
|
|
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
|
project(spi_flash_at45)
|
|
|
|
FILE(GLOB app_sources src/*.c)
|
|
target_sources(app PRIVATE ${app_sources})
|