藏柜更新

This commit is contained in:
2026-07-06 11:39:11 +08:00
parent 8440aac659
commit c2c28fe549
+3 -4
View File
@@ -342,10 +342,9 @@ endfunction()
# 定义一个属性
macro(w_use3rd name)
include("${CMAKE_SOURCE_DIR}/3rdParty/cmake/${name}.cmake")
endmacro()
function(w_use3rd name)
include("${CMAKE_CURRENT_FUNCTION_LIST_DIR}/../3rdParty/cmake/${name}.cmake")
endfunction()
function(_create_directory_with_permissions dir_path)
# 检查目录是否存在