CMake: Add "pwsh" as a PowerShell name

PowerShell on Linux is installed as "pwsh".
This commit is contained in:
João Valverde 2023-05-23 23:38:18 +01:00
parent 2917eaaefc
commit 5051378b69
1 changed files with 3 additions and 1 deletions

View File

@ -9,7 +9,9 @@
# #
find_program(POWERSHELL_EXECUTABLE find_program(POWERSHELL_EXECUTABLE
NAMES powershell NAMES
powershell
pwsh
DOC "PowerShell command" DOC "PowerShell command"
) )