mirror of
https://github.com/espressif/openthread.git
synced 2025-08-06 14:52:18 +08:00
[cmake] print source directory (#6489)
Print source directory during cmake, which is useful to find the source code location when OpenThread is built by other projects.
This commit is contained in:
@ -41,6 +41,8 @@ option(OT_MBEDTLS_THREADING "enable mbedtls threading" OFF)
|
||||
|
||||
add_library(ot-config INTERFACE)
|
||||
|
||||
message(STATUS "OpenThread Source Directory: ${PROJECT_SOURCE_DIR}")
|
||||
|
||||
target_include_directories(ot-config INTERFACE
|
||||
${PROJECT_SOURCE_DIR}/include
|
||||
${PROJECT_SOURCE_DIR}/src
|
||||
|
Reference in New Issue
Block a user