CMake creates wrong compiler options when an include path ends in "framework"

Bug #702811 reported by Hanno Stock (hefe_bia)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cmake (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: cmake

Description: Ubuntu 10.04.1 LTS
Release: 10.04

Affected versions: 2.8.0-5ubuntu1 and 2.8.1-4~lucid1

When a path "some/path/someframework" (the offending part being the suffix "framework") is in INCLUDE_DIRECTORIES cmake generates a compiler option "-Fsome/path/someframework" instead of "-Isome/path/someframework".

-F is a Mac only option.

This is due to a too vague regex in findQt4.cmake.

It has been fixed upstream in commit 35b91ac5c0d781bcea5d013bcd62fa11c6841d6f.

I think this is quite an important bug as there might be a lot of cases where some include path ends in "framework".

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

I think fixed at least in xenial.

Changed in cmake (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.