# Find QuartzCore 
#
# QUARTZCORE_INCLUDE_DIR
# QUARTZCORE_LIBRARY
# QUARTZCORE_LIBRARY_DIR
# QUARTZCORE_FOUND

if(APPLE)
	find_path(QUARTZCORE_INCLUDE_DIR NAMES QuartzCore/QuartzCore.h PATHS ${CMAKE_FIND_ROOT_PATH})
	find_library(QUARTZCORE_LIBRARY NAMES QuartzCore PATHS ${CMAKE_FIND_ROOT_PATH})
	get_filename_component(QUARTZCORE_LIBRARY_DIR ${QUARTZCORE_LIBRARY} DIRECTORY)

	include(FindPackageHandleStandardArgs)
	FIND_PACKAGE_HANDLE_STANDARD_ARGS(QuartzCore DEFAULT_MSG QUARTZCORE_LIBRARY QUARTZCORE_INCLUDE_DIR)

	mark_as_advanced(QUARTZCORE_INCLUDE_DIR QUARTZCORE_LIBRARY)
endif()

