find_path (from Alex) works

Carsten Niehaus cniehaus at gmx.de
Sun Jun 11 14:24:44 CEST 2006


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 :)


-- 
Gruß,
  Carsten Niehaus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20060611/cb5a55cd/attachment.pgp 


More information about the Kde-buildsystem mailing list