From 716613b7daeac3a06e46a9e15d72db2026ab71b3 Mon Sep 17 00:00:00 2001 From: Wayne Stambaugh Date: Sat, 11 Oct 2014 17:50:18 -0400 Subject: [PATCH] Actually make FindPythonInterp.cmake use correct FindPackageHandleStandardArgs.cmake. --- CMakeModules/FindPythonInterp.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeModules/FindPythonInterp.cmake b/CMakeModules/FindPythonInterp.cmake index 75ae267eaf..9910699432 100644 --- a/CMakeModules/FindPythonInterp.cmake +++ b/CMakeModules/FindPythonInterp.cmake @@ -169,7 +169,7 @@ endif() # handle the QUIETLY and REQUIRED arguments and set PYTHONINTERP_FOUND to TRUE if # all listed variables are TRUE -include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) -FIND_PACKAGE_HANDLE_STANDARD_ARGS(PythonInterp REQUIRED_VARS PYTHON_EXECUTABLE VERSION_VAR PYTHON_VERSION_STRING) +include(FindPackageHandleStandardArgs) +find_package_handle_standard_args(PythonInterp REQUIRED_VARS PYTHON_EXECUTABLE VERSION_VAR PYTHON_VERSION_STRING) mark_as_advanced(PYTHON_EXECUTABLE)