[CMake] Automoc4 issue when using cmake (2.8.9)

Laszlo Papp lpapp at kde.org
Tue Sep 25 18:29:12 EDT 2012


CMakeLists.txt

cmake_minimum_required(VERSION 2.8)

project(test)

add_executable(test main.cpp)

#find_package(Automoc4 REQUIRED)
find_package(KDE4 REQUIRED)

main.cpp

int main() {return 0;}

Command to execute:

cmake ../ (in the build directory)

cmake version: 2.8.9
automoc4: 0.9.88

Laszlo

On Tue, Sep 25, 2012 at 7:33 PM, Alexander Neundorf <a.neundorf-work at gmx.net
> wrote:

> On Tuesday 25 September 2012, Laszlo Papp wrote:
> > Hi,
> >
> > Worked couple of days ago. Help welcome.
> >
> > Laszlo
> >
> > -- Found Threads: TRUE
> > -- Found OpenSSL: /usr/lib/libssl.so
> > -- Looking for _POSIX_TIMERS
> > -- Looking for _POSIX_TIMERS - found
> > CMake Error at
> > /usr/share/apps/cmake/modules/FindPackageHandleStandardArgs.cmake:198
> > (MESSAGE):
> >   Did not find automoc4 (Automoc4Config.cmake, install
> >   git://anongit.kde.org/automoc).  (missing: AUTOMOC4_EXECUTABLE)
> > Call Stack (most recent call first):
> >   /usr/share/apps/cmake/modules/FindAutomoc4.cmake:49
> > (find_package_handle_standard_args)
> >   /usr/share/apps/cmake/modules/FindKDE4Internal.cmake:423 (find_package)
> >   /usr/share/cmake-2.8/Modules/FindKDE4.cmake:95 (FIND_PACKAGE)
> >   CMakeLists.txt:27 (find_package)
>
> Can you please describe the setup a bit more ?
>
> Alex
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120925/43217716/attachment.htm>


More information about the CMake mailing list