summaryrefslogtreecommitdiff
path: root/cmake/Modules/PiglitFindMako.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/Modules/PiglitFindMako.cmake')
-rw-r--r--cmake/Modules/PiglitFindMako.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Modules/PiglitFindMako.cmake b/cmake/Modules/PiglitFindMako.cmake
index eaca60180..0637d30df 100644
--- a/cmake/Modules/PiglitFindMako.cmake
+++ b/cmake/Modules/PiglitFindMako.cmake
@@ -57,7 +57,7 @@ if(MAKO_VERSION VERSION_LESS MAKO_REQUIRED_VERSION)
set(MAKO_VERSION "MAKO_VERSION-NOTFOUND")
execute_process(
- COMMAND ${python} -c "${__MAKO_CHECK_VERSION_PY}"
+ COMMAND ${PYTHON_EXECUTABLE} -c "${__MAKO_CHECK_VERSION_PY}"
OUTPUT_VARIABLE __MAKO_ACTUAL_VERSION
OUTPUT_STRIP_TRAILING_WHITESPACE
ERROR_VARIABLE __MAKO_STDERR