Il 07/06/2017 18:04, Geoffrey Hutchison ha scritto:
No, you want
cmake -DOPENBABEL2_INCLUDE_DIR=/home/davide/opt/include/
-DOPENBABEL2_LIBRARIES=/home/davide/opt/lib/
If I comment out the following two lines in my project CMakeLists.txt,
#set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake/modules)
#find_package(OpenBabel2 REQUIRED)
I can compile with these commands
cmake -DOPENBABEL2_INCLUDE_DIR=/home/davide/opt/include/openbabel-2.0/
-DOPENBABEL2_LIBRARIES=/home/davide/opt/lib/libopenbabel.so ..
LIBRARY_PATH=~/opt:$LIBRARY_PATH make
Thanks to everyone!
Davide
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss