Skip to content

Commit

Permalink
Run 7-Zip in non-interactive mode
Browse files Browse the repository at this point in the history
Add -y switch to 7-Zip command when extracting libclang from the installer.
  • Loading branch information
micbou committed Nov 5, 2017
1 parent 0c2a614 commit 15d238e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cpp/ycm/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ if ( USE_CLANG_COMPLETER AND
"7-zip is needed to extract the files from the Clang installer. "
"Install it and try again." )
endif()
execute_process( COMMAND ${7Z_EXECUTABLE} x ${CLANG_FILENAME} OUTPUT_QUIET )
execute_process( COMMAND
${7Z_EXECUTABLE} -y x ${CLANG_FILENAME} OUTPUT_QUIET )
else()
execute_process( COMMAND tar -xzf ${CLANG_FILENAME} )
endif()
Expand Down

0 comments on commit 15d238e

Please sign in to comment.