[cmake-developers] [CMake 0015362]: Target property INTERFACE_SYSTEM_INCLUDE_DIRECTORIES doesn't seem to work

Mantis Bug Tracker mantis at public.kitware.com
Mon Jan 19 19:44:35 EST 2015


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=15362 
====================================================================== 
Reported By:                Clinton Stimpson
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15362
Category:                   CMake
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-01-19 19:44 EST
Last Modified:              2015-01-19 19:44 EST
====================================================================== 
Summary:                    Target property INTERFACE_SYSTEM_INCLUDE_DIRECTORIES
doesn't seem to work
Description: 
I had some code doing
set_property(TARGET A APPEND PROPERTY
    INTERFACE_INCLUDE_DIRECTORIES
"$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>")

And I replaced INTERFACE_INCLUDE_DIRECTORIES with
INTERFACE_SYSTEM_INCLUDE_DIRECTORIES, and it no longer worked.

I understand the different to be equivalent to 
include_directories(...)
vs.
include_directories(SYSTEM ...)




Steps to Reproduce: 
See attached project for an example which doesn't work.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-01-19 19:44 Clinton StimpsonNew Issue                                    
2015-01-19 19:44 Clinton StimpsonFile Added: test-usage-includes.tar.gz         
          
======================================================================



More information about the cmake-developers mailing list