SET(Z_LIBNAME ${ZLIB_LIBRARIES} PARENT_SCOPE)
SET(Z_INCLUDE_DIRNAME ${ZLIB_INCLUDE_DIRS} PARENT_SCOPE)
- message("Your system seems to have a Z lib available, we will used it to generate PNG lib")
+ message("Your system seems to have a Z lib available, we will use it to generate PNG lib")
ELSE (ZLIB_FOUND) # not found
IF(PNG_FOUND)
- message("Your system seems to have a PNG lib available, we will used it")
+ message("Your system seems to have a PNG lib available, we will use it")
SET(HAVE_PNG_H 1 PARENT_SCOPE)
SET(HAVE_LIBPNG 1 PARENT_SCOPE)
SET(PNG_LIBNAME ${PNG_LIBRARIES} PARENT_SCOPE)
IF(TIFF_FOUND)
- message("Your system seems to have a TIFF lib available, we will used it")
+ message("Your system seems to have a TIFF lib available, we will use it")
SET(HAVE_TIFF_H 1 PARENT_SCOPE)
SET(HAVE_LIBTIFF 1 PARENT_SCOPE)
SET(TIFF_LIBNAME ${TIFF_LIBRARIES} PARENT_SCOPE)
IF(LCMS2_FOUND)
- message("Your system seems to have a LCMS2 lib available, we will used it")
+ message("Your system seems to have a LCMS2 lib available, we will use it")
SET(HAVE_LCMS2_H 1 PARENT_SCOPE)
SET(HAVE_LIBLCMS2 1 PARENT_SCOPE)
SET(LCMS_LIBNAME ${LCMS2_LIBRARIES} PARENT_SCOPE)
IF(LCMS_FOUND)
- message("Your system seems to have a LCMS lib available, we will used it")
+ message("Your system seems to have a LCMS lib available, we will use it")
SET(HAVE_LCMS_H 1 PARENT_SCOPE)
SET(HAVE_LIBLCMS 1 PARENT_SCOPE)
SET(LCMS_LIBNAME ${LCMS_LIBRARIES} PARENT_SCOPE)
ENDIF (LCMS_FOUND)
ENDIF(LCMS2_FOUND)
+#------------
+# Try to find lib FCGI
+FIND_PACKAGE(FCGI)
+
+IF(FCGI_FOUND)
+
+ SET(FCGI_LIBNAME ${FCGI_LIBRARIES} PARENT_SCOPE)
+ SET(FCGI_INCLUDE_DIRNAME ${FCGI_INCLUDE_DIRS} PARENT_SCOPE)
+ message("Your system seems to have a FCGI lib available, we will use it to build JPIP")
+
+ELSE (FCGI_FOUND) # not found
+
+ message("FCGI lib not found, JPIP will not be built as it requires FCGI")
+
+ENDIF(FCGI_FOUND)
+
+