diff --git a/cmake/Modules/FindAppKit.cmake b/cmake/Modules/FindAppKit.cmake index 00efd3425..c401a1184 100644 --- a/cmake/Modules/FindAppKit.cmake +++ b/cmake/Modules/FindAppKit.cmake @@ -4,7 +4,7 @@ # AppKit_LIBRARIES # -if(AppKit_INCLUDE_DIR AND Libavutil_LIBRARIES) +if(AppKit_LIBRARIES) set(AppKit_FOUND TRUE) else() find_library(APPKIT_FRAMEWORK AppKit)