[cmake-developers] [CMake 0013584]: Framework include directories propagate to other build tools

Mantis Bug Tracker mantis at public.kitware.com
Thu Oct 11 04:02:25 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13584 
====================================================================== 
Reported By:                Adam Bowen
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13584
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-10-11 04:02 EDT
Last Modified:              2012-10-11 04:02 EDT
====================================================================== 
Summary:                    Framework include directories propagate to other
build tools
Description: 
When frameworks are added via the include_directories command, the -F flags that
add include directories for frameworks propagate to tools that do not support
the -F flag.

This causes the tools to fail when run.

Steps to Reproduce: 
1. Enable another language, e.g. enable_language(ASM_NASM)
2. Add frameworks with include directories, e.g. find_package(Qt4)
include(${QT_USE_FILE})
3. Create a target that includes sources for the second language e.g. asm
4. Try to build the project, in this example NASM fails because -F is used on
the command line for a framework directory, but with NASM the -F flag is used to
specify the output format.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-10-11 04:02 Adam Bowen     New Issue                                    
======================================================================




More information about the cmake-developers mailing list