Files
rdkit/Code/GraphMol/DistGeomHelpers/CMakeLists.txt
Greg Landrum 45bf58754a Cleanup some cmake dependencies (#3077)
* change minimal cmake version to a consistent 3.5

* progress towards a cleanup

* get the basic python deps working

* two more libs

* another round of changes
all tests pass at this point

* next round of changes
all tests pass at this point

* close to done
all tests pass

* very close

* almost done

* shift the RDBoost dependencies around a bit

* remove an extraneous python linkage
this is trying to get the mac builds working again

* Only link to python if it was built shared (#3091)

* change in response to review

Co-Authored-By: Ric <ricrogz@users.noreply.github.com>

* move that suppression of the maybe-uninitialized warning to BoostStartInclude.h

Co-authored-by: Brian Kelley <fustigator@gmail.com>
Co-authored-by: Ric <ricrogz@users.noreply.github.com>
2020-04-17 14:34:23 +02:00

17 lines
579 B
CMake

remove_definitions(-DRDKIT_GRAPHMOL_BUILD)
add_definitions(-DRDKIT_DISTGEOMHELPERS_BUILD)
rdkit_library(DistGeomHelpers BoundsMatrixBuilder.cpp Embedder.cpp
LINK_LIBRARIES ForceFieldHelpers GraphMol DistGeometry Alignment
)
rdkit_headers(BoundsMatrixBuilder.h
Embedder.h DEST GraphMol/DistGeomHelpers)
rdkit_test(testDistGeomHelpers testDgeomHelpers.cpp
LINK_LIBRARIES
DistGeomHelpers MolAlign MolTransforms FileParsers SmilesParse SubstructMatch )
if(RDK_BUILD_PYTHON_WRAPPERS)
add_subdirectory(Wrap)
endif()