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")