On Tue, July 28, 2009 9:41 pm, Michael Leupold wrote:
> Charles Abela wrote:
>
>> Hi I have found this good article :
http://www.sebruiz.net/359
>> about how to make use of QTCreator to debug KDE projects. I am of the
>> conviction that to build a KDE project one needs to access the relevant
>> CMakeLists.txt and then run cmake. However for some reason I am getting
>> errors when cmake is run. I am trying to build a project for the
>> FolderView applet. I am accessing its CMakeLists.txt from within
>> QtCreator
>> and calling cmake. This is the error I am getting:
>>
>> CMake Error at CMakeLists.txt:10 (macro_optional_find_package):
>>
>> Unknown CMake command "macro_optional_find_package".
>
> Does plain cmake without QtCreator run fine? If that's the first error, I
> reckon MacroOptionalFindPackage.cmake doesn't get included.
Is the applet's CMakeLists.txt which you are using just copied from SVN?