Instead of accessing the environment variable ZEPHYR_BASE every time we require accessing the source code root, use an intermediate variable that has OS path separators correctly set to '/' to avoid issues on Windows. Note: This removes the ZEPHYR_SOURCE_DIR CMake variable. External applications using that will need to change to use the new ZEPHYR_BASE variable. Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
3 lines
134 B
CMake
3 lines
134 B
CMake
zephyr_include_directories(${ZEPHYR_BASE}/subsys/bluetooth)
|
|
add_subdirectory(hci)
|
|
zephyr_sources_ifdef(CONFIG_BT_NRF51_PM nrf51_pm.c)
|