Files
rdkit/Code/GraphMol/PartialCharges/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
467 B
CMake

remove_definitions(-DRDKIT_GRAPHMOL_BUILD)
add_definitions(-DRDKIT_PARTIALCHARGES_BUILD)
rdkit_library(PartialCharges
GasteigerCharges.cpp GasteigerParams.cpp
LINK_LIBRARIES GraphMol RDGeneral)
rdkit_headers(GasteigerCharges.h
GasteigerParams.h DEST GraphMol/PartialCharges)
rdkit_test(testPartialCharges test1.cpp LINK_LIBRARIES PartialCharges
SmilesParse )
if(RDK_BUILD_PYTHON_WRAPPERS)
add_subdirectory(Wrap)
endif()