[Fwd: CMakeLists.txt Fix]

Alexander Neundorf neundorf at kde.org
Wed Sep 6 23:56:59 CEST 2006


On Monday 04 September 2006 21:45, Andreas Zehender wrote:
> Hi,
>
> please see patch below, is that correct?
> I have absolutely no clue ;)
>
> Regards,
> Andreas
>
> -------- Original-Nachricht --------
> Betreff: 	CMakeLists.txt Fix
> Datum: 	Mon, 04 Sep 2006 11:29:18 GMT
> Von: 	Michael Flowers <msflowers at gawab.com>
> Antwort an: 	For developers of KPovModeler <kpovmodeler-devel at kde.org>
> An: 	KPovModeler Mailing List <kpovmodeler-devel at kde.org>
>
>
>
> The following diff, when applied to the CMakeLists.txt allows
> kpovmodeler to be linked properly.  Otherwise, kpovmodeler does
> not link.
>
> ****
> 272c272
> < target_link_libraries(lkpovmodeler ${FreeType2_LIBRARIES}
> ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY}
> ---
>
> > target_link_libraries(lkpovmodeler ${FREETYPE_LIBRARIES}
> > ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY}
>
> ****

Hmm, this is strange. Where should FREETYPE_LIBRARIES come from ?
FreeType2_LIBRARIES comes from kdegraphics/cmake/modules/FindFreeType2.cmake.

Can you please add the following to your CMakeLists.txt and post the output 
here ?

message(STATUS "FreeType2: ${FreeType2_LIBRARIES}")
message(STATUS "FREETYPE: ${FREETYPE_LIBRARIES}")

Bye
Alex
-- 
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org                - http://www.kde.org
      alex AT neundorf.net               - http://www.neundorf.net


More information about the Kde-buildsystem mailing list