From 6678dd684f53158f5bd6fb4ccd3c858eb970ed47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Santiago=20Ospina=20De=20Los=20R=C3=ADos?= <sospinar@gmail.com> Date: Tue, 27 Aug 2024 13:34:22 +0200 Subject: [PATCH] Remove CMake 2.29 IS_EXECUTABLE --- cmake/modules/DunePythonFindPackage.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/modules/DunePythonFindPackage.cmake b/cmake/modules/DunePythonFindPackage.cmake index 27b98d463..f536ecb14 100644 --- a/cmake/modules/DunePythonFindPackage.cmake +++ b/cmake/modules/DunePythonFindPackage.cmake @@ -72,7 +72,7 @@ function(dune_python_find_package) get_target_property(PYPACKAGE_LOCATION ${PYPACKAGE_INTERPRETER} LOCATION) endif() # sanity check on the interpreter - if(NOT IS_EXECUTABLE ${PYPACKAGE_LOCATION}) + if(NOT EXISTS ${PYPACKAGE_LOCATION}) message(FATAL_ERROR "The location of the python interpreter '${PYPACKAGE_LOCATION}' is not executable") endif() -- GitLab