Make vars ADVANCED for WIN32 (same as Tcl)

This commit is contained in:
Sebastien Barre 2001-12-04 10:27:04 -05:00
parent f693910602
commit 148401ccc6
1 changed files with 8 additions and 1 deletions

View File

@ -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)