find_path (from Alex) works

Alexander Neundorf neundorf at kde.org
Sun Jun 11 21:27:20 CEST 2006


On Sunday 11 June 2006 14:24, Carsten Niehaus wrote:
> Hi
>
> find_path(OPENBABEL2_INCLUDE_DIR NAMES openbabel/obconversion.h
>   PATH_SUFFIXES openbabel-2.0
> )
>
> if(OPENBABEL2_FOUND)
>     include_directories(${OPENBABEL2_DIR})
> endif(OPENBABEL2_FOUND)
>
> MESSAGE(STATUS "OPENBABEL2_INCLUDE_DIR :<${OPENBABEL2_INCLUDE_DIR}>")
> MESSAGE(STATUS "OPENBABEL2_LIBRARIES : <${OPENBABEL2_LIBRARIES}>")
> MESSAGE(STATUS "OPENBABEL2_DIR:: <${OPENBABEL2_DIR}>")
>
> gives me
>
>
> -- OPENBABEL2_INCLUDE_DIR :</usr/local/include/openbabel-2.0>
> -- OPENBABEL2_LIBRARIES : <>
> -- OPENBABEL2_DIR:: <>
>
> So the first step is taken :)

Can you please check in which way it differs from the stuff in 
FindOpenBabel2.cmake ?

Bye
Alex
-- 
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org                - http://www.kde.org
      alex AT neundorf.net               - http://www.neundorf.net


More information about the Kde-buildsystem mailing list