[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 205055] cmake manager does not find conditional compilation
From:       Andreas Pakulat <apaku () gmx ! de>
Date:       2009-09-30 13:30:58
Message-ID: 20090930133058.8B51421DA3 () immanuel ! kde ! org
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=205055





--- Comment #9 from Andreas Pakulat <apaku gmx de>  2009-09-30 15:30:55 ---
(In reply to comment #8)
> Ok, I think I have it.  The CMakeProjectVisitor does not search for 
> gtest.h in
> 
> /usr/local/include/gtest/
> 
> In my system (Fedora 11), this is where the header files are installed.

Then your project should add that directory via an include_directories() call,
or at least /usr/local/include and then use #include <gtest/gtest.h>.

> I think it should be fixed by adding this directory in the 
> CMakeProjectVisitor when searching for an include file.

No it shouldn't. It should only take include directories set in your CMake
files (and those the compiler will use as defaults).

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic