############################################################################ # CMakeLists.txt file for building ROOT bindings/ruby package ############################################################################ include_directories(${RUBY_INCLUDE_DIRS}) ROOT_GENERATE_DICTIONARY(G__Ruby *.h MODULE Ruby LINKDEF LinkDef.h) ROOT_LINKER_LIBRARY(Ruby *.cxx G__Ruby.cxx LIBRARIES ${RUBY_LIBRARY} ${CMAKE_DL_LIBS} DEPENDENCIES Hist MathCore) if(MACOSX_MINOR EQUAL 5) ROOT_EXECUTABLE(ruby64 ruby64.c LIBRARIES ${RUBY_LIBRARY}) endif() #---Install headers---------------------------------------------------------- ROOT_INSTALL_HEADERS()