diff options
| author | ruki <[email protected]> | 2017-07-17 09:31:11 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-07-17 09:31:11 +0800 |
| commit | a9330f8d12a76f7c5cd8488937cdd3bfc09fff6a (patch) | |
| tree | 498522cdfc39836c4e5f16f1fe17e2bbe3580a19 /xmake/actions/package/main.lua | |
| parent | 6a222cf4f73536a9c56820451c5e68435b24a620 (diff) | |
improve option check script
Diffstat (limited to 'xmake/actions/package/main.lua')
| -rw-r--r-- | xmake/actions/package/main.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/actions/package/main.lua b/xmake/actions/package/main.lua index 59387936a..e9255635b 100644 --- a/xmake/actions/package/main.lua +++ b/xmake/actions/package/main.lua @@ -89,7 +89,7 @@ option("[targetname]") set_languages("c99", "cxx11") -- add defines to config.h if checking ok - add_defines_h_if_ok("$(prefix)_PACKAGE_HAVE_[TARGETNAME]") + add_defines_h("$(prefix)_PACKAGE_HAVE_[TARGETNAME]") -- add links for checking add_links("[targetname]") |
