zephyr/samples/sensor/fdc2x1x/CMakeLists.txt
Jamie McCrae af78cbdc99 samples and tests: Add REQUIRED to Zephyr find_package call
Adds REQUIRED to samples and tests for finding the zephyr package
to align all samples and tests with the same call and parameters.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2023-03-02 09:58:27 +01:00

12 lines
266 B
CMake

#
# Copyright (c) 2020 arithmetics.io
#
# SPDX-License-Identifier: Apache-2.0
cmake_minimum_required(VERSION 3.20.0)
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(fdc2x1x)
FILE(GLOB app_sources src/*.c)
target_sources(app PRIVATE ${app_sources})