Re: [Open Babel] Location of include files

2012-11-02 Thread Noel O'Boyle
Would it work if one of the usages was renamed as follows? find_path(FIND_OPENBABEL2_INCLUDE_DIR openbabel-2.0/openbabel/obconversion.h PATHS ${_obIncDir} ${GNUWIN32_DIR}/include $ENV{OPENBABEL2_INCLUDE_DIR} ) if(FIND_OPENBABEL2_INCLUDE_DIR)

[Open Babel] Location of include files

2012-11-02 Thread David van der Spoel
Hi, why does OB have a double layer of include directories, i.e. openbabel-2.0/openbabel/*h instead of openbabel/*.h The reason I ask is since cmake does find the obversion.h file, but the logic in FindOpenBabel2.cmake does not work for me: find_path(OPENBABEL2_INCLUDE_DIR openbabel-2.0/openb