[CMake] Re: a problem about cmake and kde 4 on opensuse 10.2

Liang Qi cavendish.qi at gmail.com
Wed Apr 11 11:16:49 EDT 2007


Hi, Bill,

On 11/04/07, Bill Hoffman <hoffman.mlist at gmail.com> wrote:
> Liang Qi wrote:
> > Hi, all,
> > [100%] Building CXX object CMakeFiles/tutorial1.dir/main.o
> > /usr/bin/c++   -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef
> > -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith
> > -Wformat-security -fno-exception
> > s -fno-check-new -fno-common -fno-threadsafe-statics
> > -fvisibility=hidden -O2 -g   -D_BSD_SOURCE -o
> So, the cmake build has no -I paths, can you post the CMakeLists.txt
> file you are using?  If I had to guess without seeing it, I would say
> that you misspelled KDE4_INCLUDES on this line:
> include_directories( ${KDE4_INCLUDES} )
Thanks a lot.

You are right. I used include_directories( ${KDE_INCLUDES} ), it's ok now.

Regards,
Liang

-- 
http://www.qiliang.net
http://www.qtopia.org.cn
http://cavendishqi.blogspot.com
http://www.kdecn.org


More information about the CMake mailing list