# vtkDICOM Warning on vtk Master Branch

**URL:** https://discourse.vtk.org/t/vtkdicom-warning-on-vtk-master-branch/6620
**Category:** Support
**Created:** [September 14, 2021, 2:36am UTC](https://discourse.vtk.org/t/vtkdicom-warning-on-vtk-master-branch/6620 "2021-09-14T02:36:17Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![adamgranthendry](https://discourse.vtk.org/user_avatar/discourse.vtk.org/adamgranthendry/32/3853_2.png) [@adamgranthendry](https://discourse.vtk.org/u/adamgranthendry)
#### Post date: [September 14, 2021, 2:36am UTC](https://discourse.vtk.org/t/vtkdicom-warning-on-vtk-master-branch/6620/1 "2021-09-14T02:36:17Z")

</div>

I think the vtkDICOM `CMakeLists.txt` is outdated and needs updating:

```auto
CMake Deprecation Warning at Remote/vtkDICOM/CMakeLists.txt:5 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.21/Modules/CTest.cmake:50 (option):
  Policy CMP0077 is not set: option() honors normal variables. Run "cmake
  --help-policy CMP0077" for policy details. Use the cmake_policy command to
  set the policy and suppress this warning.

  For compatibility with older versions of CMake, option is clearing the
  normal variable 'BUILD_TESTING'.
Call Stack (most recent call first):
  Remote/vtkDICOM/CMakeLists.txt:12 (include)
This warning is for project developers. Use -Wno-dev to suppress it.

```

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)
#### Post date: [September 14, 2021, 11:40am UTC](https://discourse.vtk.org/t/vtkdicom-warning-on-vtk-master-branch/6620/2 "2021-09-14T11:40:34Z")

</div>

This is a “remote” module and not under VTK’s direct control. One of the reasons I don’t like the directory, but that discussion has been a long one.

@dgobbi

---

<div class="post-metadata">

### Author: ![dgobbi](https://discourse.vtk.org/user_avatar/discourse.vtk.org/dgobbi/32/18_2.png) [@dgobbi](https://discourse.vtk.org/u/dgobbi)
#### Post date: [September 14, 2021, 12:01pm UTC](https://discourse.vtk.org/t/vtkdicom-warning-on-vtk-master-branch/6620/3 "2021-09-14T12:01:36Z")

</div>

The fix, at least, is easy. This weekend I’ll see about bumping the version.
