Skip to content

Commit dd67d6e

Browse files
committed
improve to nuget/find_package #6082
1 parent 094dad8 commit dd67d6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xmake/modules/package/manager/nuget/find_package.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ function _find_package(name, result, opt)
8282
file = file:trim()
8383

8484
-- get includedirs
85-
if file:find("/include/", 1, true) then
85+
if file:find("/include/", 1, true) or file:startswith("include/") then
8686
result.includedirs = result.includedirs or {}
8787
table.insert(result.includedirs, path.join(installdir, "include"))
8888
end

0 commit comments

Comments
 (0)