Skip to content

Commit

Permalink
improve to nuget/find_package xmake-io#6082
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Jan 16, 2025
1 parent 094dad8 commit dd67d6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmake/modules/package/manager/nuget/find_package.lua
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ function _find_package(name, result, opt)
file = file:trim()

-- get includedirs
if file:find("/include/", 1, true) then
if file:find("/include/", 1, true) or file:startswith("include/") then
result.includedirs = result.includedirs or {}
table.insert(result.includedirs, path.join(installdir, "include"))
end
Expand Down

0 comments on commit dd67d6e

Please sign in to comment.