diff options
| author | ruki <[email protected]> | 2019-01-29 22:34:11 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-01-29 09:25:07 +0800 |
| commit | 2a8b05d146a9fd53aa5784e36dca45cbce2ce272 (patch) | |
| tree | d2b942facef69e155e054fa808bdc4a256b0af01 /xmake/modules/package/manager/conan/install_package.lua | |
| parent | 25d080557a3667ebd49015728bfe860585be0ed8 (diff) | |
improve to find_package
Diffstat (limited to 'xmake/modules/package/manager/conan/install_package.lua')
| -rw-r--r-- | xmake/modules/package/manager/conan/install_package.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/package/manager/conan/install_package.lua b/xmake/modules/package/manager/conan/install_package.lua index d1db99998..3d7af9078 100644 --- a/xmake/modules/package/manager/conan/install_package.lua +++ b/xmake/modules/package/manager/conan/install_package.lua @@ -29,14 +29,14 @@ import("lib.detect.find_tool") -- get build directory function _get_build_directory(name) - return path.join(config.buildir() or os.tmpdir(), ".conan", name) + return path.absolute(path.join(config.buildir() or os.tmpdir(), ".conan", name)) end -- generate conanfile.txt function _generate_conanfile(name, opt) -- trace - dprint("generate conanfile.txt ..") + dprint("generate %s ..", path.join(_get_build_directory(name), "conanfile.txt")) -- get conan options and imports local options = table.wrap(opt.options) |
