From f3b623c92275562704b9f7740b5a80edd9a9d1b7 Mon Sep 17 00:00:00 2001 From: Clifford Yapp <238416+starseeker@users.noreply.github.com> Date: Tue, 19 Dec 2023 18:47:55 -0500 Subject: [PATCH] Remove VCVARS_BAT from qt install script --- qt/qt_install.cmake.in | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/qt/qt_install.cmake.in b/qt/qt_install.cmake.in index e68c438f..7deb369f 100644 --- a/qt/qt_install.cmake.in +++ b/qt/qt_install.cmake.in @@ -1,8 +1,4 @@ -if (WIN32) - execute_process(COMMAND "@VCVARS_BAT@" && "@CMAKE_COMMAND@" --install . RESULT_VARIABLE QT_RET WORKING_DIRECTORY "@QT_BUILD_DIR@" OUTPUT_VARIABLE MSG ERROR_VARIABLE MSG) -else (WIN32) - execute_process(COMMAND "@CMAKE_COMMAND@" --install . RESULT_VARIABLE QT_RET WORKING_DIRECTORY "@QT_BUILD_DIR@" OUTPUT_VARIABLE MSG ERROR_VARIABLE MSG) -endif (WIN32) +execute_process(COMMAND "@CMAKE_COMMAND@" --install . RESULT_VARIABLE QT_RET WORKING_DIRECTORY "@QT_BUILD_DIR@" OUTPUT_VARIABLE MSG ERROR_VARIABLE MSG) if (QT_RET) message(FATAL_ERROR "Qt install failed: ${MSG}\n")