diff --git a/Modules/QtPython/CMakeLists.txt b/Modules/QtPython/CMakeLists.txt index c5ae64a197..7ffe7c76da 100644 --- a/Modules/QtPython/CMakeLists.txt +++ b/Modules/QtPython/CMakeLists.txt @@ -1,17 +1,19 @@ if(MITK_USE_Python) + mitkFunctionCheckCompilerFlags("/wd4273" CMAKE_CXX_FLAGS) + set(OpenCV_DEP ) if(MITK_USE_OpenCV) set(OpenCV_DEP OpenCV) endif() mitk_create_module( DEPENDS MitkCore MitkQtWidgets MitkPython PACKAGE_DEPENDS PUBLIC Qt5|Widgets CTK|CTKScriptingPythonCore+CTKScriptingPythonWidgets ) # temporarily disabled, bug-19153 if(UNIX) add_subdirectory(Testing) endif() endif()