On Tuesday 01 April 2014 08:51:29 PM Roney Gomes wrote: > On Tue, Apr 1, 2014 at 7:47 PM, Ahmed I. Khalil > > <[email protected]> wrote: > > Hello, > > I am trying to use KJSEmbed::Engine in a library that I am writing. My > > CMakeLists.txt links with the ${KDE4_KJS_LIBS} and also contains > > include_directories( ${KDE4_INCLUDES} ). > > > > AFAIK the ${KDE4_INCLUDES} contains all include directories required for > > KDE (as stated in FindKDE4Internal.cmake) . But I don't know why the > > compiler can't find kjsembed.h file. > > How did you install the KJS libs? Depending on their location you'll > may need to set CMAKE_INCLUDE_PATH or CMAKE_PREFIX_PATH. > I've installed it using Arch Linux Pacman, Which installs it to the standard location (/usr/lib/ and /usr/include) > > Here is the full CMakeLists.txt file : > > > > http://pastebin.kde.org/ppankpyj0 > > A paste of cmake's output would also help.
Here is the paste of my CMake output http://pastebin.com/LHFRz3Rb > > >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe > >> <<
signature.asc
Description: This is a digitally signed message part.
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
