Files
rdkit/Code/GraphMol/ReducedGraphs/CMakeLists.txt
Greg Landrum c0a62388a2 switch to using target_compile_definitions instead of add_definitions (#3350)
* switch to using target_compile_definitions instead of add_definitions

* missed one
2020-08-21 04:49:07 +02:00

17 lines
432 B
CMake

rdkit_library(ReducedGraphs
ReducedGraphs.cpp
LINK_LIBRARIES SubstructMatch SmilesParse GraphMol RDGeneral)
target_compile_definitions(ReducedGraphs PRIVATE RDKIT_REDUCEDGRAPHS_BUILD)
rdkit_headers(ReducedGraphs.h
DEST GraphMol/ReducedGraphs)
rdkit_test(testReducedGraphs test1.cpp LINK_LIBRARIES
ReducedGraphs )
if(RDK_BUILD_PYTHON_WRAPPERS)
add_subdirectory(Wrap)
endif()