Commit aaf3e86a authored by Marcus D. Hanwell's avatar Marcus D. Hanwell
Browse files

Removed references to CMake 2.4

This was causing CMake to be backwards compatible to that version.

Change-Id: I95ceb31e87776656c0e3c7a7554261177897198d
parent 097c155b
......@@ -10,7 +10,7 @@ IF("VTK_EXPLICIT_TEMPLATES" MATCHES "^VTK_EXPLICIT_TEMPLATES")
STRING(ASCII 35 POUND)
WRITE_FILE(
${VTK_BINARY_DIR}/CMakeTmp/TestExplicitInstantiation/CMakeLists.txt
"CMAKE_MINIMUM_REQUIRED(VERSION 2.4)\n"
"CMAKE_MINIMUM_REQUIRED(VERSION 2.8)\n"
"PROJECT(EXPLICIT)\n"
"ADD_LIBRARY(A A.cxx)\n"
"ADD_EXECUTABLE(B B.cxx)\n"
......
......@@ -4,8 +4,6 @@ set(vtkalglib_THIRD_PARTY 1)
set(vtkalglib_LIBRARIES vtkalglib)
vtk_module_impl()
cmake_minimum_required( VERSION 2.4 )
if ( NOT LIBRARY_OUTPUT_PATH )
set( LIBRARY_OUTPUT_PATH ${alglib_BINARY_DIR}/bin CACHE INTERNAL "" FORCE )
endif ( NOT LIBRARY_OUTPUT_PATH )
......
# Copyright (c) 2003,2006 Sandia National Laboratories <cubit@sandia.gov>
project(verdict)
cmake_minimum_required( VERSION 2.4.5 )
if ( COMMAND CMAKE_POLICY )
cmake_policy( SET CMP0003 NEW )
endif( COMMAND CMAKE_POLICY )
......@@ -12,7 +11,6 @@ set( verdict_BUILD_VERSION "0")
set( verdict_VERSION_FLAT "${verdict_MAJOR_VERSION}${verdict_MINOR_VERSION}${verdict_BUILD_VERSION}" )
set( verdict_VERSION "${verdict_MAJOR_VERSION}.${verdict_MINOR_VERSION}.${verdict_BUILD_VERSION}" )
option(BUILD_SHARED_LIBS "Build Verdict with shared libraries." OFF)
option(VERDICT_BUILD_DOC "Build the 2007 Verdict User Manual" OFF)
option(VERDICT_MANGLE "Mangle verdict names for inclusion in a larger library?" OFF)
if ( VERDICT_MANGLE )
......
Markdown is supported
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