summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/modules/package/tools/cmake.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/package/tools/cmake.lua b/xmake/modules/package/tools/cmake.lua
index 42a48f81b..453097c6d 100644
--- a/xmake/modules/package/tools/cmake.lua
+++ b/xmake/modules/package/tools/cmake.lua
@@ -263,6 +263,7 @@ function buildenvs(package)
if fetchinfo then
table.join2(CMAKE_LIBRARY_PATH, fetchinfo.linkdirs)
table.join2(CMAKE_INCLUDE_PATH, fetchinfo.includedirs)
+ table.join2(CMAKE_INCLUDE_PATH, fetchinfo.sysincludedirs)
end
else
table.join2(CMAKE_PREFIX_PATH, dep:installdir())