if(APPLE)
	find_package(X11 REQUIRED)

	message(STATUS "X11_FOUND = ${X11_FOUND}")
	message(STATUS "X11_INCLUDE_DIR = ${X11_INCLUDE_DIR}")
	message(STATUS "X11_LIBRARIES = ${X11_LIBRARIES}")

	include_directories(${X11_INCLUDE_DIR})

	link_directories(${X11_LIBRARIES})
endif()