mirror of
https://github.com/ruby-opencv/ruby-opencv
synced 2023-03-27 23:22:12 -04:00
fix for mswin32
This commit is contained in:
parent
7b91dd53c5
commit
504baa66c1
1 changed files with 4 additions and 2 deletions
|
@ -70,8 +70,10 @@ opencv_headers.each {|header|
|
||||||
}
|
}
|
||||||
have_header("stdarg.h")
|
have_header("stdarg.h")
|
||||||
|
|
||||||
$warnflags.slice!('-Wdeclaration-after-statement')
|
if $warnflags
|
||||||
$warnflags.slice!('-Wimplicit-function-declaration')
|
$warnflags.slice!('-Wdeclaration-after-statement')
|
||||||
|
$warnflags.slice!('-Wimplicit-function-declaration')
|
||||||
|
end
|
||||||
|
|
||||||
# Quick fix for 1.8.7
|
# Quick fix for 1.8.7
|
||||||
$CFLAGS << " -I#{File.dirname(__FILE__)}/ext/opencv"
|
$CFLAGS << " -I#{File.dirname(__FILE__)}/ext/opencv"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue