Hey folks,
I'm working on QML port of a KDE game and I need to use KDeclarative
for some stuff, so I want to know what I need to put in my CMakeLists.txt.
For now I've blindly added the three lines:
1. find_package(KDeclarative REQUIRED)
2. include_directories( <bunch of includes> ${KDECLARATIVE_INCLUDE_DIR} )
3. target_link_libraries(kbreakout-qml <bunch of libraries>
${KDECLARATIVE_LIBRARIES})
I'm also unsure as to whether all of these are required.
Also, with above in my CMakeLists, the game cannot be built on some distros.
Do I need to add the cmake/modules/FindKDeclarative.cmake in the source
tree?
Thanks,
Viranch
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<