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()