mirror of
https://gitee.com/dlmu-cone/tronone-h7-scaffold
synced 2026-07-24 03:27:45 +08:00
添加 CMake 支持以自动查找和链接 rpl 库,并创建 CMake 构建说明文档
Signed-off-by: MoonFeather <moonbite233@gmail.com>
This commit is contained in:
10
cmake/Modules/FindRPL.cmake
Normal file
10
cmake/Modules/FindRPL.cmake
Normal file
@@ -0,0 +1,10 @@
|
||||
find_package(rpl QUIET)
|
||||
|
||||
if (NOT rpl_FOUND)
|
||||
FetchContent_Declare(
|
||||
rpl
|
||||
GIT_REPOSITORY https://gitee.com/dlmu-cone/rpl
|
||||
GIT_TAG main
|
||||
)
|
||||
FetchContent_MakeAvailable(rpl)
|
||||
endif ()
|
||||
Reference in New Issue
Block a user