You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
919 B
25 lines
919 B
# SPDX-License-Identifier: Apache-2.0 |
|
|
|
###################################### |
|
# The use of this file is deprecated # |
|
###################################### |
|
|
|
# To build a Zephyr application it must start with one of those lines: |
|
# |
|
# find_package(Zephyr) |
|
# find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) |
|
# |
|
# The `REQUIRED HINTS $ENV{ZEPHYR_BASE}` variant is required for any application |
|
# inside the Zephyr repository. |
|
# |
|
# Loading of this file directly is deprecated and only kept for backward compatibility. |
|
|
|
if(NOT DEFINED Zephyr_DIR) |
|
# When `find_package(Zephyr)` is used then `Zephyr_DIR` is defined, else |
|
# old style inclusion is used. Warning is only printed in first invocation. |
|
message(WARNING "Loading of Zephyr boilerplate.cmake directly is deprecated, " |
|
"please use 'find_package(Zephyr)'" |
|
) |
|
endif() |
|
|
|
find_package(Zephyr REQUIRED PATHS ${CMAKE_CURRENT_LIST_DIR}/../.. NO_DEFAULT_PATH)
|
|
|