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:
parent
c8dbec46ce
commit
45478f2dfe
1 changed files with 5 additions and 1 deletions
|
@ -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"]
|
||||
|
||||
|
|
Loading…
Reference in a new issue