summaryrefslogtreecommitdiff
path: root/thirdparty
diff options
context:
space:
mode:
authorAntonin Descampe <antonin@gmail.com>2011-08-12 14:59:28 +0000
committerAntonin Descampe <antonin@gmail.com>2011-08-12 14:59:28 +0000
commita098921d34c023c25dae8911f9ec94356db1592f (patch)
treed7a692e1dc67d3c1a6a9559934bd20b5851e1dec /thirdparty
parent8ed4cb1a1ef01a5843f97b8a05e9218e73624c54 (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)
+
+