[CMake] Automoc4 issue when using cmake (2.8.9)

Alexander Neundorf a.neundorf-work at gmx.net
Wed Sep 26 16:19:41 EDT 2012


On Wednesday 26 September 2012, Laszlo Papp wrote:
> 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

do you know what changed "couple dof days ago" ?
Did you use an older version of cmake before ?

Alex


> 
> 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



More information about the CMake mailing list