diff options
| author | ruki <[email protected]> | 2020-11-20 00:32:22 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-11-20 00:32:22 +0800 |
| commit | b5ffa09e27f191df0a3853876131901c13d26b9b (patch) | |
| tree | 0ff2998efb76f7cdbc899edcbf7a4fefbb9b8016 | |
| parent | 89f8ac4a09a7c3f15d4e6cb76d38d12c035cda39 (diff) | |
improve tools/cmake
| -rw-r--r-- | xmake/modules/package/tools/cmake.lua | 1 |
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()) |
