diff --git a/binding.gyp b/binding.gyp index 56e82aa..023762a 100644 --- a/binding.gyp +++ b/binding.gyp @@ -21,7 +21,8 @@ ['OS=="mac"', { 'include_dirs':['/usr/local/include/opencv'], 'xcode_settings': { - 'GCC_ENABLE_CPP_EXCEPTIONS': 'YES' + 'GCC_ENABLE_CPP_EXCEPTIONS': 'YES', + 'GCC_ENABLE_CPP_RTTI': '-frtti' }, 'libraries':[ '-lopencv_core',