commit 278c26b1a691cf80a9b6dfada76fb8da141581cb Author: Kornel Benko <kor...@lyx.org> Date: Tue Apr 7 14:16:07 2020 +0200
Cmake tests: Amend 353295e4 Prevent also the command-line setting of LYX_ENABLE_VALGRIND_TESTS for the cmake versions < 3.17 --- CMakeLists.txt | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d206d55..72a8cd7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -141,6 +141,8 @@ LYX_OPTION(ENABLE_EXPORT_TESTS "Enable for export tests" OFF ALL) LYX_OPTION(ENABLE_KEYTESTS "Enable for keytests" OFF ALL) if (NOT CMAKE_VERSION VERSION_LESS "3.17") LYX_OPTION(ENABLE_VALGRIND_TESTS "Enable for tests involving valgrind" OFF ALL) +else() +unset(LYX_ENABLE_VALGRIND_TESTS CACHE) endif() LYX_OPTION(ASAN "Use address sanitizer" OFF ALL) #LYX_COMBO(USE_FILEDIALOG "Use native or QT file dialog" QT NATIVE) -- lyx-cvs mailing list lyx-cvs@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-cvs