[cmake-developers] [CMake 0015593]: Overriding the project configuration (CMAKE_C_SOURCE_FILE_EXTENSIONS)
Mantis Bug Tracker
mantis at public.kitware.com
Fri May 29 07:31:31 EDT 2015
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=15593
======================================================================
Reported By: Art
Assigned To:
======================================================================
Project: CMake
Issue ID: 15593
Category: CMake
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2015-05-29 07:31 EDT
Last Modified: 2015-05-29 07:31 EDT
======================================================================
Summary: Overriding the project configuration
(CMAKE_C_SOURCE_FILE_EXTENSIONS)
Description:
During the operation of the module CMakeCCompiler.cmake.in comes to overwrite
the user's configuration parameter CMAKE_C_SOURCE_FILE_EXTENSIONS
Proposed solution:
https://github.com/Kitware/CMake/blob/master/Modules/CMakeCCompiler.cmake.in#L34
set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m)
Can be replaced on
IF(NOT CMAKE_C_SOURCE_FILE_EXTENSIONS)
set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m)
ENDIF()
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2015-05-29 07:31 Art New Issue
======================================================================
More information about the cmake-developers
mailing list