summaryrefslogtreecommitdiffstats
path: root/Modules/FindPythonLibs.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-01-17 22:19:13 (GMT)
committerBrad King <brad.king@kitware.com>2008-01-17 22:19:13 (GMT)
commit669db35aa445cc67eef1ff53aced9602e253249e (patch)
tree4d2d3eec6f0f04c78f9e5e5a2c3b93a2935824bb /Modules/FindPythonLibs.cmake
parent83901b30da3e42c43b06d1579a86b14be2acf50e (diff)
downloadCMake-669db35aa445cc67eef1ff53aced9602e253249e.zip
CMake-669db35aa445cc67eef1ff53aced9602e253249e.tar.gz
CMake-669db35aa445cc67eef1ff53aced9602e253249e.tar.bz2
ENH: Changed signature of GET_PROPERTY command to be more powerful and extendible.
Diffstat (limited to 'Modules/FindPythonLibs.cmake')
-rw-r--r--Modules/FindPythonLibs.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/FindPythonLibs.cmake b/Modules/FindPythonLibs.cmake
index 8e60c0d..698b674 100644
--- a/Modules/FindPythonLibs.cmake
+++ b/Modules/FindPythonLibs.cmake
@@ -93,7 +93,8 @@ IF(NOT _FIND_PYTHONLIBS_ALREADY_INCLUDED)
SET(PY_MODULES_LIST "" CACHE STRING "Collect a list of all added python modules" FORCE)
ENDIF(NOT _FIND_PYTHONLIBS_ALREADY_INCLUDED)
-GET_PROPERTY(_TARGET_SUPPORTS_SHARED_LIBS GLOBAL TARGET_SUPPORTS_SHARED_LIBS)
+GET_PROPERTY(_TARGET_SUPPORTS_SHARED_LIBS
+ GLOBAL PROPERTY TARGET_SUPPORTS_SHARED_LIBS)
MACRO(PYTHON_ADD_MODULE _NAME )
OPTION(PYTHON_ENABLE_MODULE_${_NAME} "Add module ${_NAME}" TRUE)