From 4cb527caddf649287f288e95e1aecf4596a2264f Mon Sep 17 00:00:00 2001 From: Stephan Schulz <stephan.schulz-x2q@rub.de> Date: Wed, 3 Jul 2019 17:06:16 +0200 Subject: [PATCH] set CMake policy regarding leading/trailing whitespace Appears with OpenMPI 1.10.4 cmake 3.4.1 --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index ef39662..68a9d62 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,6 +4,10 @@ option(CM_ALL_VTK_OUTPUT "VTK output routine" OFF) option(CM_ALL_VORONOI "Voronoi-based loadbalancing scheme (requires Voro++)" OFF) option(CM_ALL_FORTRAN "VTK output routine" OFF) +# leading and trailing whitespace should be silently ignored +# thanks to an old FindMPI script +cmake_policy(SET CMP0004 OLD) + enable_language(CXX) if (CM_ALL_FORTRAN) -- GitLab