Problem with cmake

View: New views
2 Messages — Rating Filter:   Alert me  

Problem with cmake

by Klaas Freitag-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I use a CMakeLists.txt that starts like:

  PROJECT(kraft)
  find_package(KDE4 REQUIRED)
  find_package (KdepimLibs REQUIRED)

As long as KdepimLibsConfig.cmake is in /usr/lib/cmake/KdepimLibs/
it works. But on a 64 bit machine, where the file is in /usr/lib64/cmake/...
Kdepimlibs are not found.

I helped myself adding a
  set(Kdepimlibs_DIR /usr/lib64/cmake/KdepimLibs/)
just after the find_package(KDE4), but that's surely not correct.

What's wrong here?

Thanks,

Klaas

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Re: Problem with cmake

by Bugzilla from kde@michael-jansen.biz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Klaas

cmake -DLIB_SUFFIX=64 ...

should fix the problem.

Mike

On Friday 23 October 2009 22:21:45 Klaas Freitag wrote:

> Hi,
>
> I use a CMakeLists.txt that starts like:
>
>   PROJECT(kraft)
>   find_package(KDE4 REQUIRED)
>   find_package (KdepimLibs REQUIRED)
>
> As long as KdepimLibsConfig.cmake is in /usr/lib/cmake/KdepimLibs/
> it works. But on a 64 bit machine, where the file is in
>  /usr/lib64/cmake/... Kdepimlibs are not found.
>
> I helped myself adding a
>   set(Kdepimlibs_DIR /usr/lib64/cmake/KdepimLibs/)
> just after the find_package(KDE4), but that's surely not correct.
>
> What's wrong here?
>
> Thanks,
>
> Klaas
>
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> >> unsubscribe <<
>
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<