diff options
| author | ruki <[email protected]> | 2020-09-29 00:41:22 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-09-29 00:41:22 +0800 |
| commit | 045c1524737d8f12da869e99a13316e640519c56 (patch) | |
| tree | 5c5c7d3b8de3070b818dfeb2ad45d7fe05183e0e | |
| parent | 675fc8fca1e62f24e505523eb1b8e0523a9ffb94 (diff) | |
add tips
| -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 a121a475c..1c1ab958b 100644 --- a/xmake/modules/package/tools/cmake.lua +++ b/xmake/modules/package/tools/cmake.lua @@ -340,6 +340,7 @@ function _install_files_for_cmake(package) -- e.g. set(_IMPORT_PREFIX "/Users/ruki/.xmake/cache/packages/2009/x/xxx/master/source/xxx/build_C8AA35F0/install") -- for _, cmakefile in ipairs(os.files("install/lib/cmake/*/*.cmake")) do + vprint("patching %s ..", cmakefile) local prefixdir_old = path.absolute("install") local prefixdir_new = package:installdir() io.replace(cmakefile, prefixdir_old, prefixdir_new, {plain = true}) |
