SimpleITK / SlicerSimpleFilters

A Module for Slicer3D to provide a simple GUI to image filters from the Insight Toolkit.
Other
1 stars 12 forks source link

STYLE: Fix CMake warning setting CMP0048 to NEW #4

Closed jcfr closed 8 years ago

jcfr commented 8 years ago

This commit will avoid the following warning:

//-----------------------------------------
  Policy CMP0048 is not set: project() command manages VERSION variables.
  Run "cmake --help-policy CMP0048" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  The following variable(s) would be set to empty:

    PROJECT_VERSION
    PROJECT_VERSION_MAJOR
    PROJECT_VERSION_MINOR
    PROJECT_VERSION_PATCH
//-----------------------------------------
jcfr commented 8 years ago

This commit will allow Slicer to be built setting CMP0048 to NEW

blowekamp commented 8 years ago

Thank you for fixing this issue.

jcfr commented 8 years ago

Thanks for integrating.

This is done anticipating Slicer setting policies to their new values.