Skip to content

Commit

Permalink
Update xmake.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
dayu521 authored Feb 11, 2024
1 parent 5d0a3e8 commit 9a685f4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@ if is_os("windows") then

option("openssl_no_sys")
set_default(false)
add_requireconfs(openssl_package_name,{system = false})
after_check(function (option)
if option:enabled() then
add_requireconfs(openssl_package_name,{system = false})
end
end)

add_options("openssl_no_sys")
else
Expand Down

0 comments on commit 9a685f4

Please sign in to comment.