summaryrefslogtreecommitdiff
path: root/cmake/Modules
diff options
context:
space:
mode:
authorDylan Baker <dylanx.c.baker@intel.com>2014-12-11 13:28:29 -0800
committerDylan Baker <baker.dylan.c@gmail.com>2015-01-19 10:16:47 -0800
commit9600aa4557d1494658a45168220e1e97197a48ce (patch)
treec5f2621fe82cf4781a82d85d04e9db7a62918112 /cmake/Modules
parentee8579b452f0a6e59b1dd879b50715a83554fafc (diff)
cmake: use cmake builtin python module
This removes a bunch of code that we rolled for finding python interpreters, and uses the cmake builtins. Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com> Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'cmake/Modules')
-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