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

pull/2908/head
Mike Maraya 11 years ago
parent 1138fbb940
commit 7936faf9a3
  1. 2
      modules/highgui/src/window_cocoa.mm

@ -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);

Loading…
Cancel
Save