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

changed cmake files a little to avoid warnings from the example programs.

parent 2ebafae7
......@@ -163,7 +163,7 @@ TARGET_LINK_LIBRARIES(${target_name} dlib )
if (NOT DLIB_NO_GUI_SUPPORT)
add_subdirectory(gui)
add_subdirectory(../../examples examples_build)
add_subdirectory(examples)
endif()
# Disable some warnings from gcc when compiling the examples because fixing them would make the
# examples harder to read.
if (CMAKE_COMPILER_IS_GNUCXX)
add_definitions("-Wno-comment -Wno-unused-parameter")
endif()
add_subdirectory(../../../examples examples_build)
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