switch to using target_compile_definitions instead of add_definitions (#3350)

* switch to using target_compile_definitions instead of add_definitions

* missed one
This commit is contained in:
Greg Landrum
2020-08-21 04:49:07 +02:00
committed by GitHub
parent f1dc20e3ef
commit c0a62388a2
56 changed files with 67 additions and 96 deletions

View File

@@ -1,8 +1,8 @@
add_definitions(-DRDKIT_CATALOGS_BUILD)
rdkit_library(Catalogs
Catalog.cpp CatalogParams.cpp CatalogEntry.cpp
LINK_LIBRARIES RDGeneral)
target_compile_definitions(Catalogs PRIVATE RDKIT_CATALOGS_BUILD)
rdkit_headers(CatalogEntry.h
Catalog.h