diff --git a/cmake/RunTests.cmake b/cmake/RunTests.cmake index 789131c26c..3adbcbbfc5 100644 --- a/cmake/RunTests.cmake +++ b/cmake/RunTests.cmake @@ -95,7 +95,5 @@ if(NOT res EQUAL 0) endif() endif() - IF (NOT WIN32) - message(FATAL_ERROR "${TEST_TYPE} tests failed with error: ${res}") - ENDIF() + message(FATAL_ERROR "${TEST_TYPE} tests failed with error: ${res}") endif()