diff options
| author | ruki <[email protected]> | 2018-04-20 22:51:36 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-04-20 11:09:38 +0800 |
| commit | f68f5f692efcf5690c7b17dd8b9b49974c1a24fa (patch) | |
| tree | 611378d1b1adfd08a8a5bdc31b692466d5bbc393 | |
| parent | a16e302881ed8637454c10a8f2db8d3e0f449d8a (diff) | |
improve find_qt for linux
| -rw-r--r-- | xmake/rules/qt/load.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/rules/qt/load.lua b/xmake/rules/qt/load.lua index c0686c2d8..8e42b3431 100644 --- a/xmake/rules/qt/load.lua +++ b/xmake/rules/qt/load.lua @@ -81,6 +81,8 @@ function main(target, opt) target:add("frameworks", "DiskArbitration", "IOKit") target:add("includedirs", path.join(qt.sdkdir, "mkspecs/macx-clang")) target:add("rpathdirs", "@executable_path/Frameworks", qt.linkdirs) + else + target:set("frameworks", nil) end end |
