Skip to content

Commit

Permalink
optim: find_package Poweshell & BASH specify QUIET.
Browse files Browse the repository at this point in the history
  • Loading branch information
z1turn0 committed Feb 2, 2024
1 parent 8dbeda1 commit 380159e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmake/FindPowerShell.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ find_program(POWERSHELL_EXECUTABLE NAMES powershell)
mark_as_advanced(POWERSHELL_EXECUTABLE)

INCLUDE(FindPackageHandleStandardArgs)
find_package_handle_standard_args(POWERSHELL
find_package_handle_standard_args(PowerShell
REQUIRED_VARS POWERSHELL_EXECUTABLE)
4 changes: 2 additions & 2 deletions src/群友提交/cmake/CheckLoserHomeWork.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ function(is_check_run cpp_file _ret)
set(${_ret} true PARENT_SCOPE)
endfunction()

find_package(Powershell)
find_package(BASH)
find_package(PowerShell QUIET)
find_package(BASH QUIET)

function(add_run_homework_target target homework_target _ret)
set(ret false)
Expand Down

0 comments on commit 380159e

Please sign in to comment.