summaryrefslogtreecommitdiffstats
path: root/Modules/FindPythonLibs.cmake
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-07-18 17:26:02 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-07-18 17:26:02 (GMT)
commite118a62709fdc84e6c5b5b8d0bb055895d206ec9 (patch)
tree20e404d46f0b10d66af046e53f8af0843d88a6cc /Modules/FindPythonLibs.cmake
parentff9ed18dad7281c074ce80befa47d7d510d4476b (diff)
downloadCMake-e118a62709fdc84e6c5b5b8d0bb055895d206ec9.zip
CMake-e118a62709fdc84e6c5b5b8d0bb055895d206ec9.tar.gz
CMake-e118a62709fdc84e6c5b5b8d0bb055895d206ec9.tar.bz2
ENH: add a macro FIND_PACKAGE_HANDLE_STANDARD_ARGS(LibXml2 LIBXML2_LIBRARIES LIBXML2_INCLUDE_DIR)
which handles the required and QUIET arguments and sets <NAME>_FOUND Alex
Diffstat (limited to 'Modules/FindPythonLibs.cmake')
-rw-r--r--Modules/FindPythonLibs.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/FindPythonLibs.cmake b/Modules/FindPythonLibs.cmake
index 3c07225..9e9b7d0 100644
--- a/Modules/FindPythonLibs.cmake
+++ b/Modules/FindPythonLibs.cmake
@@ -3,6 +3,7 @@
# include files and libraries are. It also determines what the name of
# the library is. This code sets the following variables:
#
+# PYTHONLIBS_FOUND = have the Python libs been found
# PYTHON_LIBRARIES = path to the python library
# PYTHON_INCLUDE_PATH = path to where Python.h is found
# PYTHON_DEBUG_LIBRARIES = path to the debug library
@@ -136,3 +137,7 @@ ENDIF(Python_FRAMEWORKS)
# module.
SET(PYTHON_LIBRARIES "${PYTHON_LIBRARY}")
SET(PYTHON_DEBUG_LIBRARIES "${PYTHON_DEBUG_LIBRARY}")
+
+
+INCLUDE(FindPackageHandleStandardArgs)
+FIND_PACKAGE_HANDLE_STANDARD_ARGS(PythonLibs PYTHON_LIBRARIES PYTHON_INCLUDE_PATH)