mirror of
https://github.com/opencv/opencv.git
synced 2024-11-28 21:20:18 +08:00
Fixed OS X compilation error in window_cocoa.mm
Un-commented `NSApplicationActivationPolicyRegular` argument (in leu of zero) and got rid of problematic dereference
This commit is contained in:
parent
6550cb2a90
commit
8340e31f1f
@ -150,7 +150,7 @@ CV_IMPL int cvInitSystem( int , char** )
|
||||
#define NSAppKitVersionNumber10_5 949
|
||||
#endif
|
||||
if( floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_5 )
|
||||
[application setActivationPolicy:0/*NSApplicationActivationPolicyRegular*/];
|
||||
[application setActivationPolicy:NSApplicationActivationPolicyRegular];
|
||||
#endif
|
||||
//[application finishLaunching];
|
||||
//atexit(icvCocoaCleanup);
|
||||
|
Loading…
Reference in New Issue
Block a user