Commit ae9701bc authored by Davis King's avatar Davis King

Changed CMakeLists.txt so that the find libjpeg step doesn't output

confusing messages to the console.
parent f2d48e4c
......@@ -261,7 +261,7 @@ if (NOT TARGET dlib)
if (DLIB_LINK_WITH_LIBJPEG)
# try to find libjpeg
include(FindJPEG)
find_package(JPEG QUIET)
if (JPEG_FOUND)
include_directories(${JPEG_INCLUDE_DIR})
set (dlib_needed_libraries ${dlib_needed_libraries} ${JPEG_LIBRARY})
......
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