diff options
-rw-r--r-- | Modules/FindPythonLibs.cmake | 9 |
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) |