invitation: try compiling kdelibs using cmake

Peter Kümmel syntheticpp at gmx.net
Thu Jan 26 21:51:48 CET 2006


Am Donnerstag, 26. Januar 2006 20:57 schrieb William A. Hoffman:

> Yes, this a problem.   It should work by doing this:
>
> find_package(Qt4 required)
>
> include(${QT_USE_FILE})
> target_link_libraries(target ${QT_LIBRARIES})

I've added
set(CMAKE_BUILD_TYPE Debug)
to the master CMakeList.txt

and 
find_package(Qt4 required)
include(${QT_USE_FILE})

in front of the the usage of  e.g.

target_link_libraries(kdefx  ${QT_QTCORE_LIBRARY}  m${QT_QTGUI_LIBRARY} )

But it doen't help.

Is this the wrong way to fix it?

Peter



More information about the Kde-buildsystem mailing list