Hi,

I'm trying to make a CMake Module to find whether or not KrossPython is
installed, as fas as I know once you install the Python plugin for Kross,
you will have a 'krosspython.so' file installed (in my case this file is in
/usr/lib64/kde4).

The problem is, the code below is not finding that library, perhaps the kde4
variables are the wrong ones? wrong paths?
I will appreciate any help.


if( KROSSPYTHON_LIBRARY )
  set( KROSSPYTHON_FOUND TRUE )
else( KROSSPYTHON_LIBRARY )
  find_library( KROSSPYTHON_LIBRARY
                NAMES krosspython
                PATHS ${KDE4_LIB_DIR}
                             ${LIB_INSTALL_DIR} )

  include( FindPackageHandleStandardArgs )
  find_package_handle_standard_args( KrossPython DEFAULT_MSG
KROSSPYTHON_LIBRARY )
endif( KROSSPYTHON_LIBRARY )

mark_as_advanced( KROSSPYTHON_LIBRARY )




Thanks in advance.

-- 
Daniel E. Moctezuma
KMess developer team & Japanese translation
------
KMess
- the Live Messenger alternative for KDE -
web: www.kmess.org - irc: #kmess at Freenode
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Reply via email to