Commit 56683e6d authored by Mike Maraya's avatar Mike Maraya

Fixes build failure on Mac OS X 10.10 Yosemite Beta due to highgui/src/window_cocoa.mm (Bug #3737)

parent fbac578c
...@@ -151,7 +151,7 @@ CV_IMPL int cvInitSystem( int , char** ) ...@@ -151,7 +151,7 @@ CV_IMPL int cvInitSystem( int , char** )
#define NSAppKitVersionNumber10_5 949 #define NSAppKitVersionNumber10_5 949
#endif #endif
if( floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_5 ) if( floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_5 )
[application setActivationPolicy:0/*NSApplicationActivationPolicyRegular*/]; [application setActivationPolicy:NSApplicationActivationPolicyRegular];
#endif #endif
//[application finishLaunching]; //[application finishLaunching];
//atexit(icvCocoaCleanup); //atexit(icvCocoaCleanup);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment