[CMake] Find_library problem

Xavier Larrode Xavier.Larrode at irisa.fr
Thu Aug 24 04:48:34 EDT 2006


ok i fixed it ...

Xavier Larrode a écrit :
> 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 ?
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake

-------------- 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/62000f24/Xavier.Larrode.vcf


More information about the CMake mailing list