Home | History | Annotate | Download | only in python
      1 # ----------------------------------------------------------------------------
      2 #  CMake file for python support
      3 # ----------------------------------------------------------------------------
      4 
      5 if((WIN32 AND CMAKE_BUILD_TYPE STREQUAL "Debug")
      6     OR BUILD_opencv_world
      7     )
      8   ocv_module_disable(python2)
      9   ocv_module_disable(python3)
     10 endif()
     11 
     12 if(ANDROID OR IOS OR WINRT)
     13   ocv_module_disable(python2)
     14   ocv_module_disable(python3)
     15 endif()
     16 
     17 add_subdirectory(python2)
     18 add_subdirectory(python3)
     19