Sha256: 9cd673f41111457c8126cb3b61861137a8311aac85bfc44827041d30d9e2f053

Contents?: true

Size: 475 Bytes

Versions: 6

Compression:

Stored size: 475 Bytes

Contents

require 'mkmf'

opencv_headers = ['opencv2/objdetect/objdetect.hpp', 'opencv2/highgui/highgui.hpp', 'opencv2/imgproc/imgproc_c.h']
opencv_libraries = ['opencv_core', 'opencv_highgui', 'opencv_objdetect']
opencv_libraries.each { |lib| raise "#{lib} not found." unless have_library(lib) }
opencv_headers.each { |header| raise "#{header} not found." unless have_header(header) }

#Call this if we ever create a propper c-extention instead of a cli
#create_makefile('findaface')

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
findaface-1.0.0 ext/findaface/extconf.rb
findaface-0.0.6 ext/findaface/extconf.rb
findaface-0.0.5 ext/findaface/extconf.rb
findaface-0.0.4 ext/findaface/extconf.rb
findaface-0.0.3 ext/findaface/extconf.rb
findaface-0.0.2 ext/findaface/extconf.rb