summaryrefslogtreecommitdiff
path: root/xmake/modules/package/manager/conan/install_package.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2019-01-30 22:33:27 +0800
committerruki <[email protected]>2019-01-30 09:20:43 +0800
commite1fa828266e4532507af568bd505212dcd15b81d (patch)
tree62e26e185e8671cbbe6e1b93b89c3deff0a04903 /xmake/modules/package/manager/conan/install_package.lua
parente5aa64826addb4fb5c036615d324a2b1149dbd7d (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.lua5
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