diff options
| author | ruki <[email protected]> | 2019-01-30 22:33:27 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-01-30 09:20:43 +0800 |
| commit | e1fa828266e4532507af568bd505212dcd15b81d (patch) | |
| tree | 62e26e185e8671cbbe6e1b93b89c3deff0a04903 /xmake/modules/package/manager/conan/install_package.lua | |
| parent | e5aa64826addb4fb5c036615d324a2b1149dbd7d (diff) | |
improve install_package and support vcpkg
Diffstat (limited to 'xmake/modules/package/manager/conan/install_package.lua')
| -rw-r--r-- | xmake/modules/package/manager/conan/install_package.lua | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/xmake/modules/package/manager/conan/install_package.lua b/xmake/modules/package/manager/conan/install_package.lua index 90a88abb0..607f676a8 100644 --- a/xmake/modules/package/manager/conan/install_package.lua +++ b/xmake/modules/package/manager/conan/install_package.lua @@ -70,7 +70,7 @@ function main(name, opt) -- find conan local conan = find_tool("conan") if not conan then - return false + raise("conan not found!") end -- get build directory @@ -137,7 +137,4 @@ function main(name, opt) -- leave build directory os.cd(oldir) - - -- ok - return true end |
