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 <[email protected]
> 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
>
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to