mirror of
https://github.com/opencv/opencv.git
synced 2024-12-18 19:38:02 +08:00
21 lines
441 B
CMake
21 lines
441 B
CMake
if(NOT PYTHON3_INCLUDE_PATH OR NOT PYTHON3_NUMPY_INCLUDE_DIRS)
|
|
ocv_module_disable(python3)
|
|
endif()
|
|
|
|
set(the_description "The python3 bindings")
|
|
set(MODULE_NAME python3)
|
|
set(MODULE_INSTALL_SUBDIR python3)
|
|
|
|
set(PYTHON PYTHON3)
|
|
|
|
include(../common.cmake)
|
|
|
|
unset(MODULE_NAME)
|
|
unset(MODULE_INSTALL_SUBDIR)
|
|
|
|
if(MSVC)
|
|
ocv_warnings_disable(CMAKE_CXX_FLAGS /wd4996)
|
|
else()
|
|
ocv_warnings_disable(CMAKE_CXX_FLAGS -Wdeprecated-declarations)
|
|
endif()
|