From b8e8a7abd1d49a9d47cb808ec6c8940dab150be6 Mon Sep 17 00:00:00 2001 From: Radovan Bast Date: Fri, 18 Sep 2015 14:07:57 +0200 Subject: [PATCH] s/FATAL/FATAL_ERROR/ --- test/fc_mpi/src/CMakeLists.txt | 6 +++--- test/fc_omp/src/CMakeLists.txt | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/fc_mpi/src/CMakeLists.txt b/test/fc_mpi/src/CMakeLists.txt index 0829498..9de80b7 100644 --- a/test/fc_mpi/src/CMakeLists.txt +++ b/test/fc_mpi/src/CMakeLists.txt @@ -1,10 +1,10 @@ -if (MPI_FOUND) +if(MPI_FOUND) add_executable(example example.F90) - if (CMAKE_SYSTEM_NAME MATCHES "Windows") + if(CMAKE_SYSTEM_NAME MATCHES "Windows") # respect paths in appveyor.yml target_link_libraries(example "C:/software/msmpi/libmsmpi64.a") endif() else() - message(FATAL "MPI not found!") + message(FATAL_ERROR "MPI not found!") endif() diff --git a/test/fc_omp/src/CMakeLists.txt b/test/fc_omp/src/CMakeLists.txt index 8b38868..cf16da4 100644 --- a/test/fc_omp/src/CMakeLists.txt +++ b/test/fc_omp/src/CMakeLists.txt @@ -1,6 +1,6 @@ -if (OPENMP_FOUND) +if(OPENMP_FOUND) add_executable(example example.f90) else() - message(FATAL "OPENMP not found!") + message(FATAL_ERROR "OPENMP not found!") endif()