[CMake] Find_library problem

Xavier Larrode Xavier.Larrode at irisa.fr
Thu Aug 24 03:56:06 EDT 2006


Hello all,
I have two libs wich are locate at the same place : INSTALL_LIB_HOME

I manage to find the first with the find_library but not the second...

:
FIND_LIBRARY(GOT_RelationPosition NAMES RelationPosition PATHS 
${INSTALL_LIB_HOME})
IF (GOT_RelationPosition)
  TARGET_LINK_LIBRARIES (PieMenu RelationPosition)
ENDIF (GOT_RelationPosition)
FIND_LIBRARY(GOT_OMKInputHandler NAMES OMKInputHander PATHS 
${INSTALL_LIB_HOME})
IF (GOT_OMKInputHandler)
  TARGET_LINK_LIBRARIES (PieMenu OMKInputHander)
ENDIF (GOT_OMKInputHandler)

and :
ls lib/*RelationPosition*
 > lib/libRelationPosition.so*
ls lib/*OMKInputHandler*
 > lib/libOMKInputHandler.so*

And ccmake tell me that it don't find the GOT_OMKInputHandler ...
Any idea ?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Xavier.Larrode.vcf
Type: text/x-vcard
Size: 169 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/cmake/attachments/20060824/8e3ceab9/Xavier.Larrode.vcf


More information about the CMake mailing list