Commit 76783e20 authored by PRUVOST Florent's avatar PRUVOST Florent

make valgrind memcheck in ctests optional

parent e08337bf
......@@ -83,6 +83,11 @@ set(CMAKE_Fortran_MODULE_DIRECTORY ${PROJECT_BINARY_DIR}/MOD)
set(VALGRIND_EXE "/usr/bin/valgrind" CACHE TYPE "Valgrind with its path")
set(VALGRIND_ARGS "" CACHE TYPE "Valgrind arguments")
mark_as_advanced(VALGRIND_EXE VALGRIND_ARGS)
option(PAMPA_CTEST_MEMCHECK "Use valgrind memcheck explicitly during ctests" OFF)
if(NOT PAMPA_CTEST_MEMCHECK)
set(VALGRIND_EXE "" CACHE TYPE "Valgrind with its path" FORCE)
set(VALGRIND_ARGS "" CACHE TYPE "Valgrind arguments" FORCE)
endif()
option(FORTRAN_INTERFACE "Build fortran interface to use PaMPA in fortran programs" OFF)
if (FORTRAN_INTERFACE)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment