zephyr/drivers/bluetooth/CMakeLists.txt
Carles Cufi 7d764b35f3 cmake: Use path-corrected version of ZEPHYR_BASE
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>
2018-01-11 14:59:03 -05:00

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)