summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorSebastien Barre <sebastien.barre@kitware.com>2001-12-04 15:27:04 (GMT)
committerSebastien Barre <sebastien.barre@kitware.com>2001-12-04 15:27:04 (GMT)
commit148401ccc6246db50d7028121c00dc2ec231092e (patch)
tree5b52fb7bdf31fe153919a35d511386fd96270e6f /Modules
parentf6939106023c46964f2e8cffe1d59fe4f34fe0fe (diff)
downloadCMake-148401ccc6246db50d7028121c00dc2ec231092e.zip
CMake-148401ccc6246db50d7028121c00dc2ec231092e.tar.gz
CMake-148401ccc6246db50d7028121c00dc2ec231092e.tar.bz2
Make vars ADVANCED for WIN32 (same as Tcl)
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindPythonLibs.cmake9
1 files changed, 8 insertions, 1 deletions
diff --git a/Modules/FindPythonLibs.cmake b/Modules/FindPythonLibs.cmake
index 70a0993..496f53f 100644
--- a/Modules/FindPythonLibs.cmake
+++ b/Modules/FindPythonLibs.cmake
@@ -29,7 +29,7 @@ FIND_LIBRARY(PYTHON_LIBRARY
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.1\\InstallPath]/libs
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.0\\InstallPath]/libs
)
-
+
FIND_PATH(PYTHON_INCLUDE_PATH Python.h
/usr/include
/usr/include/python2.1
@@ -39,3 +39,10 @@ FIND_PATH(PYTHON_INCLUDE_PATH Python.h
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.0\\InstallPath]/include
)
+IF (WIN32)
+ MARK_AS_ADVANCED(
+ PYTHON_DEBUG_LIBRARY
+ PYTHON_LIBRARY
+ PYTHON_INCLUDE_PATH
+ )
+ENDIF(WIN32)