Updating opencv module definition in cmake (continued)

This commit is contained in:
Andrey Kamaev
2012-01-25 09:04:49 +00:00
parent c946a740bb
commit 9d5c24cdc8
12 changed files with 130 additions and 186 deletions

View File

@@ -1,6 +1,9 @@
if(WIN32 AND CMAKE_BUILD_TYPE STREQUAL "Debug")
return()
endif()
if(NOT PYTHONLIBS_FOUND OR NOT BUILD_NEW_PYTHON_SUPPORT OR NOT PYTHON_USE_NUMPY)
return()
endif()
# ----------------------------------------------------------------------------
# CMake file for python support