diff options
-rw-r--r-- | libexec/qt-internal-configure-tests.bat.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libexec/qt-internal-configure-tests.bat.in b/libexec/qt-internal-configure-tests.bat.in index dd2b0cc9c4..a59db01b14 100644 --- a/libexec/qt-internal-configure-tests.bat.in +++ b/libexec/qt-internal-configure-tests.bat.in @@ -5,5 +5,10 @@ set script_dir_path=%script_dir_path:~0,-1% set cmake_scripts_dir=%script_dir_path% -call "%script_dir_path%"\"@relative_path_from_libexec_dir_to_bin_dir@"\qt-cmake.bat ^ +set relative_bin_dir=@relative_path_from_libexec_dir_to_bin_dir@ +if NOT "%relative_bin_dir%" == "" ( +set relative_bin_dir="%relative_bin_dir%"\ +) + +call "%script_dir_path%"\%relative_bin_dir%"qt-cmake.bat" ^ @script_passed_args@ %* |