mirror of
https://github.com/openbabel/openbabel.git
synced 2025-02-25 18:55:23 -06:00
Do not hard-code Open Babel major version for include directory
This commit is contained in:
parent
49f9cfb32b
commit
3f7a07f7e4
@ -79,7 +79,7 @@ else() # Windows - bin dir = lib dir to load libraries
|
||||
endif()
|
||||
endif()
|
||||
if(NOT DEFINED OB_INCLUDE_DIRS)
|
||||
set(OB_INCLUDE_DIRS "include/openbabel3")
|
||||
set(OB_INCLUDE_DIRS "include/openbabel${BABEL_MAJ_VER}")
|
||||
endif()
|
||||
set(OB_EXPORTS_FILE "${openbabel_BINARY_DIR}/OpenBabel3_EXPORTS.cmake")
|
||||
# Ensure a fresh file is made each time CMake is run
|
||||
|
@ -2,7 +2,7 @@ prefix=@CMAKE_INSTALL_PREFIX@
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/@LIB_INSTALL_DIR@
|
||||
includedir=${prefix}/include
|
||||
pkgincludedir=${includedir}/openbabel-2.0
|
||||
pkgincludedir=${includedir}/openbabel@BABEL_MAJ_VER@
|
||||
|
||||
Name: Open Babel library
|
||||
Description: libopenbabel
|
||||
|
Loading…
Reference in New Issue
Block a user