diff options
| -rw-r--r-- | xmake/modules/detect/sdks/find_qt.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/detect/sdks/find_qt.lua b/xmake/modules/detect/sdks/find_qt.lua index 43534cf5e..61f37bbfc 100644 --- a/xmake/modules/detect/sdks/find_qt.lua +++ b/xmake/modules/detect/sdks/find_qt.lua @@ -291,7 +291,7 @@ function _find_qt(sdkdir, sdkver, sdkdir_host) -- handle qt sysroot local qt_sysroot = qtenvs.QT_SYSROOT or "" - if #qt_sysroot > 0 and path.isdir(qt_sysroot) then + if #qt_sysroot > 0 and os.isdir(qt_sysroot) then sdkdir = path.join(qt_sysroot, sdkdir) bindir = path.join(qt_sysroot, bindir) libexecdir = path.join(qt_sysroot, libexecdir) |
