mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-03 21:44:30 +08:00
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:
@@ -1,7 +1,7 @@
|
||||
|
||||
add_definitions(-DRDKIT_CHEMICALFEATURES_BUILD)
|
||||
rdkit_library(ChemicalFeatures FreeChemicalFeature.cpp
|
||||
LINK_LIBRARIES RDGeneral RDGeometryLib)
|
||||
target_compile_definitions(ChemicalFeatures PRIVATE RDKIT_CHEMICALFEATURES_BUILD)
|
||||
|
||||
rdkit_headers(ChemicalFeature.h
|
||||
FreeChemicalFeature.h DEST ChemicalFeatures)
|
||||
|
||||
Reference in New Issue
Block a user