Sign in
pigweed
/
third_party
/
github
/
zephyrproject-rtos
/
zephyr
/
refs/heads/upstream/v2.1-branch
/
.
/
cmake
/
compiler
/
clang
/
generic.cmake
blob: 18e2b06e9072fbd6f5ead4c1a2184b506a049094 [
file
] [
log
] [
blame
] [
edit
]
# SPDX-License-Identifier: Apache-2.0
if
(
DEFINED TOOLCHAIN_HOME
)
set
(
find_program_clang_args PATH $
{
TOOLCHAIN_HOME
}
NO_DEFAULT_PATH
)
endif
()
find_program
(
CMAKE_C_COMPILER clang $
{
find_program_clang_args
})