blob: 3ab87e0989a80173f37f6af945c97e464be31330 [file] [log] [blame] [edit]
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ed4948f0..228ac830 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -35,12 +35,12 @@ ADD_EXECUTABLE ( yuvconvert ${ly_base_dir}/util/yuvconvert.cc )
TARGET_LINK_LIBRARIES ( yuvconvert ${ly_lib_static} )
-INCLUDE ( FindJPEG )
-if (JPEG_FOUND)
- include_directories( ${JPEG_INCLUDE_DIR} )
- target_link_libraries( yuvconvert ${JPEG_LIBRARY} )
- add_definitions( -DHAVE_JPEG )
-endif()
+#INCLUDE ( FindJPEG )
+#if (JPEG_FOUND)
+# include_directories( ${JPEG_INCLUDE_DIR} )
+# target_link_libraries( yuvconvert ${JPEG_LIBRARY} )
+# add_definitions( -DHAVE_JPEG )
+#endif()
if(TEST)
find_library(GTEST_LIBRARY gtest)
diff --git a/source/mjpeg_decoder.cc b/source/mjpeg_decoder.cc
index eaf25301..21cde70a 100644
--- a/source/mjpeg_decoder.cc
+++ b/source/mjpeg_decoder.cc
@@ -25,7 +25,7 @@
#endif
#endif
-struct FILE; // For jpeglib.h.
+//struct FILE; // For jpeglib.h.
// C++ build requires extern C for jpeg internals.
#ifdef __cplusplus