Update CMakeLists.txt

This commit is contained in:
Martin Kroeker 2022-03-20 21:25:21 +01:00 committed by GitHub
parent 369233da46
commit 5e2d4bef2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ FILE(WRITE ${CMAKE_CURRENT_BINARY_DIR}/test_helper.ps1
"$ErrorActionPreference = \"Stop\"\n" "$ErrorActionPreference = \"Stop\"\n"
"$OutputEncoding\n" "$OutputEncoding\n"
"Get-Content $args[1] -Encoding ASCII| & $args[0]\n" "Get-Content $args[1] -Encoding ASCII| & $args[0]\n"
"If ((Get-Content $args[2] | %{$_ -match \"FATAL\"}) -contains $true) {\n" "If ((Get-Content *$args[2] | %{$_ -match \"FATAL\"}) -contains $true) {\n"
"echo Error\n" "echo Error\n"
"exit 1\n" "exit 1\n"
"} else {\n" "} else {\n"