From 5b50472218331bfd4216b2bf163bde6947bc4610 Mon Sep 17 00:00:00 2001 From: Alex Neundorf Date: Wed, 17 Aug 2011 00:05:50 +0200 Subject: Remove, has been merged into cmake master Alex --- .../modules/MacroWriteBasicCMakeVersionFile.cmake | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 attic/modules/MacroWriteBasicCMakeVersionFile.cmake (limited to 'attic/modules/MacroWriteBasicCMakeVersionFile.cmake') diff --git a/attic/modules/MacroWriteBasicCMakeVersionFile.cmake b/attic/modules/MacroWriteBasicCMakeVersionFile.cmake deleted file mode 100644 index 6f9e4189..00000000 --- a/attic/modules/MacroWriteBasicCMakeVersionFile.cmake +++ /dev/null @@ -1,22 +0,0 @@ -# MACRO_WRITE_BASIC_CMAKE_VERSION_FILE( _filename _major _minor _patch) -# Writes a file for use as ConfigVersion.cmake file to <_filename>. -# See the documentation of FIND_PACKAGE() for details on this. -# _filename is the output filename, it should be in the build tree. -# _major is the major version number of the project to be installed -# _minor is the minor version number of the project to be installed -# _patch is the patch version number of the project to be installed -# - -# Copyright (c) 2008, Alexander Neundorf, -# -# Redistribution and use is allowed according to the terms of the BSD license. -# For details see the accompanying COPYING-CMAKE-SCRIPTS file. - -get_filename_component(_currentListFileDir ${CMAKE_CURRENT_LIST_FILE} PATH) - -function(MACRO_WRITE_BASIC_CMAKE_VERSION_FILE _filename _major _minor _patch) - set(PROJECT_VERSION_MAJOR ${_major}) - set(PROJECT_VERSION_MINOR ${_minor}) - set(PROJECT_VERSION_PATCH ${_patch}) - configure_file(${_currentListFileDir}/BasicFindPackageVersion.cmake.in "${_filename}" @ONLY) -endfunction(MACRO_WRITE_BASIC_CMAKE_VERSION_FILE _major _minor _patch) -- cgit v1.2.1