summaryrefslogtreecommitdiff
path: root/thirdparty
diff options
context:
space:
mode:
authorAntonin Descampe <antonin@gmail.com>2011-08-12 13:57:36 +0000
committerAntonin Descampe <antonin@gmail.com>2011-08-12 13:57:36 +0000
commitd8806649abb5f479f014c79b873288a3ce27a83a (patch)
tree160604cc20f9e02fca665e2b9b9c1219773bcd36 /thirdparty
parentdc9a65923acb31f414a45bd5f90b821190f74f4b (diff)
added cmake support to openjpip
Diffstat (limited to 'thirdparty')
-rw-r--r--thirdparty/CMakeLists.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/thirdparty/CMakeLists.txt b/thirdparty/CMakeLists.txt
index 00415933..a3f95095 100644
--- a/thirdparty/CMakeLists.txt
+++ b/thirdparty/CMakeLists.txt
@@ -143,4 +143,21 @@ ELSE (LCMS2_FOUND) # not found lcms2
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)
+
+