Commit 8c5fddcc authored by Kenneth Moreland's avatar Kenneth Moreland
Browse files

Merge branch 'CMakeModulePolicy'

parents 1e682668 60a3f463
......@@ -5,9 +5,17 @@
## This source code is released under the New BSD License.
#
PROJECT(ICET C)
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
# Turn off policy 0017, which makes modules packaged with CMake find
# any module rather than just others packaged with CMake. This is
# necessary for backward compatibility when included from ParaView.
IF (POLICY CMP0017)
CMAKE_POLICY(SET CMP0017 OLD)
ENDIF (POLICY CMP0017)
PROJECT(ICET C)
# Set the current IceT version.
SET(ICET_MAJOR_VERSION 2)
SET(ICET_MINOR_VERSION 1)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment