1
0
Fork 0
mirror of https://github.com/ruby-opencv/ruby-opencv synced 2023-03-27 23:22:12 -04:00

Use MacPorts ffcall library location on Mac

This commit is contained in:
Ryan Baumann 2008-08-19 15:30:09 -04:00
parent c8dbec46ce
commit 45478f2dfe

View file

@ -16,7 +16,11 @@ require "mkmf"
# extconf.rb --with-opencv-include=/path/to/opencv/include
dir_config("opencv", "/usr/local/include/opencv", "/usr/local/lib")
dir_config("ffcall", "/usr/local/include", "/usr/local/lib")
if CONFIG["arch"].include?("darwin")
dir_config("ffcall", "/opt/local/include", "/opt/local/lib")
else
dir_config("ffcall", "/usr/local/include", "/usr/local/lib")
end
opencv_libraries = ["cxcore", "cv", "highgui"]