Update CMakeLists.txt

This commit is contained in:
Martin Kroeker 2022-03-22 07:11:32 +01:00 committed by GitHub
parent 80573b120a
commit 07d56879ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -33,8 +33,8 @@ FILE(WRITE ${CMAKE_CURRENT_BINARY_DIR}/test_helper.ps1
"$ErrorActionPreference = \"Stop\"\n" "$ErrorActionPreference = \"Stop\"\n"
"$OutputEncoding\n" "$OutputEncoding\n"
"Get-Content $args[1]\n" "Get-Content $args[1]\n"
"Get-Content $args[1] -Encoding utf8NoBOM | & file -\n" "Get-Content $args[1] -Encoding Ascii | & file -\n"
"Get-Content $args[1] -Encoding utf8NoBOM | & $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"