Ticket #37339: OpenCV-Portfile.diff
File OpenCV-Portfile.diff, 498 bytes (added by cooljeanius (Eric Gallager), 12 years ago) |
---|
-
Portfile
old new 139 139 } 140 140 141 141 variant opencl description {Enable OpenCL support.} { 142 if {${os.platform} == "darwin" && ${os.major} < 11} { 143 ui_error "The OpenCL variant only works with Mac OS X 10.7 Lion or later." 144 return -code error "incompatible Mac OS X version" 145 } 142 146 configure.args-delete -DWITH_OPENCL=OFF 143 147 configure.args-append -DWITH_OPENCL=ON 144 148 }