diff --git a/Modules/IpPicSupport/CMakeLists.txt b/Modules/IpPicSupport/CMakeLists.txt index e5c6bd2447..88806513de 100644 --- a/Modules/IpPicSupport/CMakeLists.txt +++ b/Modules/IpPicSupport/CMakeLists.txt @@ -1,5 +1,7 @@ +mitkFunctionCheckCompilerFlags("-Wno-deprecated-declarations" CMAKE_CXX_FLAGS) + MITK_CREATE_MODULE( IpPicSupport DEPENDS Mitk LegacyAdaptors mitkIpPic ) ADD_SUBDIRECTORY(Testing) diff --git a/Modules/LegacyAdaptors/CMakeLists.txt b/Modules/LegacyAdaptors/CMakeLists.txt index aa4a818edc..ee95f73176 100644 --- a/Modules/LegacyAdaptors/CMakeLists.txt +++ b/Modules/LegacyAdaptors/CMakeLists.txt @@ -1,3 +1,5 @@ +mitkFunctionCheckCompilerFlags("-Wno-deprecated-declarations" CMAKE_CXX_FLAGS) + MITK_CREATE_MODULE( LegacyAdaptors DEPENDS Mitk mitkIpPic )