From d561d64c0a87cb8eae033e2b4b89a269272f9248 Mon Sep 17 00:00:00 2001 From: Edward Hartnett Date: Wed, 26 Aug 2020 04:27:36 -0600 Subject: [PATCH] trying to deal with MPIEXEC in CMake --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index a9bb043f73a..82f3bb35d53 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -451,6 +451,7 @@ cmake_print_variables(WITH_MPIEXEC) if (NOT WITH_MPIEXEC) set(WITH_MPIEXEC mpiexec) endif() +set(MPIEXEC WITH_MPIEXEC) configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/tests/cunit/run_tests.sh.in ${CMAKE_CURRENT_BINARY_DIR}/tests/cunit/run_tests.sh @ONLY)