Add explicit AppKit dependency for obs/platform-osx

This commit is contained in:
Palana
2014-01-24 23:04:42 +01:00
parent 9f1249326b
commit b6c5a26f97
2 changed files with 21 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
# Once done these will be defined:
#
# AppKit_FOUND
# AppKit_LIBRARIES
#
if(AppKit_INCLUDE_DIR AND Libavutil_LIBRARIES)
set(AppKit_FOUND TRUE)
else()
find_library(APPKIT_FRAMEWORK AppKit)
set(AppKit_LIBRARIES ${APPKIT_FRAMEWORK} CACHE STRING "AppKit framework")
find_package_handle_standard_args(AppKit DEFAULT_MSG APPKIT_FRAMEWORK)
mark_as_advanced(APPKIT_FRAMEWORK)
endif()