# HCI IPC network core CMakeLists.txt
# This file runs INSTEAD of the default hci_ipc CMakeLists.txt

cmake_minimum_required(VERSION 3.20.0)

# CRITICAL: Clear ZEPHYR_EXTRA_MODULES before find_package(Zephyr)
# This prevents aetherd and 9p4z from being included in network core build
set(ZEPHYR_EXTRA_MODULES "" CACHE STRING "No extra modules for network core" FORCE)
message(STATUS "hci_ipc: Cleared ZEPHYR_EXTRA_MODULES")

# Now proceed with standard Zephyr project setup
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(hci_ipc)

# No additional sources - hci_ipc sample provides everything we need
