Ticket #32528: patch-modules_highgui_CMakeLists.txt.diff
File patch-modules_highgui_CMakeLists.txt.diff, 526 bytes (added by marin.saric@…, 13 years ago) |
---|
-
modules/highgui/CMakeLists.txt
old new 346 346 endif() 347 347 348 348 if(APPLE) 349 target_link_libraries(${the_target} "-lbz2 -framework Cocoa -framework QuartzCore") 349 FIND_LIBRARY(BZ2_LIBRARY NAMES bz2 REQUIRED) 350 target_link_libraries(${the_target} ${BZ2_LIBRARY} "-framework Cocoa -framework QuartzCore") 350 351 if(WITH_CARBON) 351 352 target_link_libraries(${the_target} "-framework Carbon") 352 353 endif()