Files
rdkit/rdkit-config.cmake.in
Riccardo Vianello f6beaa3f4b fix the inclusion path for the targets file (#2584) (#2589)
* fix the inclusion path for the targets file (#2584)

* minor cleanup
2019-08-08 10:10:19 +02:00

10 lines
323 B
CMake

# Compute installation prefix relative to this file
get_filename_component (_dir "${CMAKE_CURRENT_LIST_FILE}" DIRECTORY)
get_filename_component (_prefix "${_dir}/.." ABSOLUTE)
# Import the targets
include ("${_dir}/@RDKit_EXPORTED_TARGETS@.cmake")
# Report other info
set (RDKit_INCLUDE_DIRS "${_prefix}/@RDKit_HdrDir@")