Skip to content

Commit

Permalink
Remove VCVARS_BAT from qt install script
Browse files Browse the repository at this point in the history
  • Loading branch information
starseeker committed Dec 19, 2023
1 parent 15795b3 commit f3b623c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions qt/qt_install.cmake.in
Original file line number Diff line number Diff line change
@@ -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")
Expand Down

0 comments on commit f3b623c

Please sign in to comment.