obs-studio/cmake/Modules/FindAppKit.cmake
Palana f2d0c98ffe Fix copy&paste error in AppKit cmake module
Only consider AppKit_LIBRARIES
2014-01-24 23:58:21 +01:00

18 lines
361 B
CMake

# Once done these will be defined:
#
# AppKit_FOUND
# AppKit_LIBRARIES
#
if(AppKit_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()