############################################################################ # CMakeLists.txt file for building ROOT graf2d/gpad package # @author Pere Mato, CERN ############################################################################ ROOT_USE_PACKAGE(graf2d/graf) ROOT_USE_PACKAGE(core) include_directories(${CMAKE_SOURCE_DIR}/hist/hist/inc) # This is to avoid a circular dependency graf <--> hist ROOT_GENERATE_DICTIONARY(G__GPad *.h LINKDEF LinkDef.h) ROOT_GENERATE_ROOTMAP(Gpad LINKDEF LinkDef.h DEPENDENCIES Graf Hist) ROOT_LINKER_LIBRARY(Gpad *.cxx G__GPad.cxx DEPENDENCIES Graf Hist) ROOT_INSTALL_HEADERS()