Problem with the path of openbabale library

Hi everyone,

I want to install Avogadro on my linux64 desktop. Openbabel-2.2.3 is currently installed om my home directory. I used the following cmake commend:

cmake …/ -DOPENBABEL2_INCLUDE_DIR=/home/batan/openbabel/openbabel-2.2.3/usr/local/include/openbabel-2.0/ -DOPENBABEL2_LIBRARIES=/home/batan/openbabel/openbabel-2.2.3/usr/local/lib/

And I received the following error:

– checking for module ‘openbabel-2.0>=2.2.2’
– package ‘openbabel-2.0>=2.2.2’ not found
CMake Error at cmake/modules/FindOpenBabel2.cmake:81 (message):
Could NOT find OpenBabel 2.2 or later
Call Stack (most recent call first):
CMakeLists.txt:131 (find_package)

– Configuring incomplete, errors occurred!

Cmake and openbabel are installed correctly and the only problem may be difinition of path. I appreciate let me know how I could solve this issue.

Thanks
Somaye