1# Copyright (c) 2021 Nordic Semiconductor ASA 2# 3# SPDX-License-Identifier: Apache-2.0 4# 5 6cmake_minimum_required(VERSION 3.20.0) 7 8find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) 9 10if(CONFIG_BOARD_NRF5340DK_NRF5340_CPUNET OR 11 CONFIG_BOARD_NRF5340BSIM_NRF5340_CPUNET) 12 message(INFO " ${BOARD}${BOARD_QUALIFIERS} used for Network Core") 13else() 14 message(FATAL_ERROR "${BOARD}${BOARD_QUALIFIERS} is not supported for this sample") 15endif() 16 17project(sync_rtc_net) 18 19target_sources(app PRIVATE src/main.c) 20