Commit 2dddc92d authored by Davis King's avatar Davis King

Made cmake's "can't find X11" error message on OS X provide a link

to download XQuartz.
parent 9cd5f3db
...@@ -155,7 +155,8 @@ if (NOT TARGET dlib) ...@@ -155,7 +155,8 @@ if (NOT TARGET dlib)
else() else()
message(" *****************************************************************************") message(" *****************************************************************************")
message(" *** DLIB GUI SUPPORT DISABLED BECAUSE X11 DEVELOPMENT LIBRARIES NOT FOUND ***") message(" *** DLIB GUI SUPPORT DISABLED BECAUSE X11 DEVELOPMENT LIBRARIES NOT FOUND ***")
message(" *** Make sure libx11-dev is installed if you want GUI support ***") message(" *** Make sure XQuartz is installed if you want GUI support. ***")
message(" *** You can download XQuartz from: http://xquartz.macosforge.org/landing/ ***")
message(" *****************************************************************************") message(" *****************************************************************************")
set(DLIB_NO_GUI_SUPPORT ON CACHE STRING ${DLIB_NO_GUI_SUPPORT_STR} FORCE ) set(DLIB_NO_GUI_SUPPORT ON CACHE STRING ${DLIB_NO_GUI_SUPPORT_STR} FORCE )
endif() endif()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment