Don't build face recognition example if GUI support isn't enabled.

This commit is contained in:
Davis King 2017-02-18 15:33:09 -05:00
parent c89b622565
commit e4402cf575

View File

@ -44,7 +44,7 @@ ENDMACRO()
# to compile the rest of dlib.
if (NOT USING_OLD_VISUAL_STUDIO_COMPILER)
add_example(dnn_metric_learning_ex)
add_example(dnn_face_recognition_ex)
add_gui_example(dnn_face_recognition_ex)
add_example(dnn_introduction_ex)
add_example(dnn_introduction2_ex)
add_example(dnn_inception_ex)