[cmake-developers] [CMake 0014864]: CheckTypeSize changes CMAKE_MINIMUM_REQUIRED_VERSION

Mantis Bug Tracker mantis at public.kitware.com
Mon Apr 7 05:16:00 EDT 2014


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=14864 
====================================================================== 
Reported By:                Daniele E. Domenichelli
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14864
Category:                   Modules
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-04-07 05:15 EDT
Last Modified:              2014-04-07 05:15 EDT
====================================================================== 
Summary:                    CheckTypeSize changes CMAKE_MINIMUM_REQUIRED_VERSION
Description: 
Including CheckTypeSize will change CMAKE_MINIMUM_REQUIRED_VERSION to 2.6

Steps to Reproduce: 
This simple example:

  cmake_minimum_required(VERSION 2.8.12)
  message("${CMAKE_CURRENT_LIST_LINE} - ${CMAKE_MINIMUM_REQUIRED_VERSION}")
  include(CheckTypeSize)
  message("${CMAKE_CURRENT_LIST_LINE} - ${CMAKE_MINIMUM_REQUIRED_VERSION}")

will produce the following output:

  2 - 2.8.12
  4 - 2.6

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-04-07 05:15 Daniele E. DomenichelliNew Issue                               
    
======================================================================



More information about the cmake-developers mailing list