[cmake-developers] [CMake 0015693]: include_directories(BEFORE not following BEFORE option

Mantis Bug Tracker mantis at public.kitware.com
Wed Aug 12 08:31:34 EDT 2015


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=15693 
====================================================================== 
Reported By:                Matt McCormick
Assigned To:                Stephen Kelly
====================================================================== 
Project:                    CMake
Issue ID:                   15693
Category:                   CCMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Target Version:             CMake 3.4
====================================================================== 
Date Submitted:             2015-08-12 08:31 EDT
Last Modified:              2015-08-12 08:31 EDT
====================================================================== 
Summary:                    include_directories(BEFORE not following BEFORE
option
Description: 
When calling include_directories(BEFORE, the directories are included, but they
are appended instead of pre-pended to the list.

git bisect with the attached CMakeLists.txt identified the following commit:

6ed9c7e024d66d89ab303ba0d299fa4ee099f91b is the first bad commit
commit 6ed9c7e024d66d89ab303ba0d299fa4ee099f91b
Author: Stephen Kelly <steveire at gmail.com>
Date:   Sat Jul 18 12:28:49 2015 +0200

    cmState: Host buildsystem properties for directories.

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-08-12 08:31 Matt McCormick New Issue                                    
2015-08-12 08:31 Matt McCormick Status                   new => assigned     
2015-08-12 08:31 Matt McCormick Assigned To               => Stephen Kelly   
2015-08-12 08:31 Matt McCormick File Added: CMakeLists.txt                    
======================================================================



More information about the cmake-developers mailing list