Diff of /CMakeModules/FindJPEG.cmake [23b1f0] .. [261128] Maximize Restore

  Switch to side-by-side view

--- a/CMakeModules/FindJPEG.cmake
+++ b/CMakeModules/FindJPEG.cmake
@@ -1,37 +1,37 @@
-# - Find JPEG for Hugin 0.7 01Nov2007 TKSharpless
-# Added to support Windows build but should work anywhere.
-# After looking in UNIX standard places, tries wxWidgets build 
-# tree, which should have this package.
-#
-# Call FIND_PACKAGE(wxWidgets REQUIRED) before calling this!
-# 
-# reads cache variables
-#  wxWidgets_ROOT_DIR
-#  wxWidgets_LIB_DIR
-# defines cache variables
-#  JPEG_INCLUDE_DIR, where to find headers
-#  JPEG_LIBRARIES, list of release link libraries
-#  JPEG_DEBUG_LIBRARIES, list of debug link libraries
-#  JPEG_FOUND, If != "YES", do not try to use JPEG
-
-FIND_PATH(JPEG_INCLUDE_DIR jpeglib.h
-  /usr/local/include
-  /usr/include
-  ${wxWidgets_ROOT_DIR}/src/jpeg
-)
-
-include(FindLibraryWithDebug)
-
-find_library_with_debug(JPEG_LIBRARIES
-  WIN32_DEBUG_POSTFIX d
-  NAMES jpeg libjpeg wxjpeg
-  PATHS /usr/lib /usr/local/lib ${wxWidgets_LIB_DIR}
-)
-
-
-include(FindPackageHandleStandardArgs)
-find_package_handle_standard_args(JPEG DEFAULT_MSG 
-                                  JPEG_INCLUDE_DIR JPEG_LIBRARIES)
-
-MARK_AS_ADVANCED(JPEG_INCLUDE_DIR JPEG_LIBRARIES )
-
+# - Find JPEG for Hugin 0.7 01Nov2007 TKSharpless
+# Added to support Windows build but should work anywhere.
+# After looking in UNIX standard places, tries wxWidgets build 
+# tree, which should have this package.
+#
+# Call FIND_PACKAGE(wxWidgets REQUIRED) before calling this!
+# 
+# reads cache variables
+#  wxWidgets_ROOT_DIR
+#  wxWidgets_LIB_DIR
+# defines cache variables
+#  JPEG_INCLUDE_DIR, where to find headers
+#  JPEG_LIBRARIES, list of release link libraries
+#  JPEG_DEBUG_LIBRARIES, list of debug link libraries
+#  JPEG_FOUND, If != "YES", do not try to use JPEG
+
+FIND_PATH(JPEG_INCLUDE_DIR jpeglib.h
+  /usr/local/include
+  /usr/include
+  ${wxWidgets_ROOT_DIR}/src/jpeg
+)
+
+include(FindLibraryWithDebug)
+
+find_library_with_debug(JPEG_LIBRARIES
+  WIN32_DEBUG_POSTFIX d
+  NAMES jpeg libjpeg wxjpeg
+  PATHS /usr/lib /usr/local/lib ${wxWidgets_LIB_DIR}
+)
+
+
+include(FindPackageHandleStandardArgs)
+find_package_handle_standard_args(JPEG DEFAULT_MSG 
+                                  JPEG_INCLUDE_DIR JPEG_LIBRARIES)
+
+MARK_AS_ADVANCED(JPEG_INCLUDE_DIR JPEG_LIBRARIES )
+