2012-01-25 10:42:00 +01:00
|
|
|
# required dep for server:
|
|
|
|
IF(BUILD_JPIP_SERVER)
|
|
|
|
FIND_PACKAGE(CURL REQUIRED)
|
|
|
|
FIND_PACKAGE(FCGI REQUIRED)
|
2012-02-13 12:09:30 +01:00
|
|
|
FIND_PACKAGE(Threads REQUIRED)
|
2012-02-13 12:37:38 +01:00
|
|
|
IF(NOT CMAKE_USE_PTHREADS_INIT)
|
2012-02-13 12:09:30 +01:00
|
|
|
MESSAGE(FATAL_ERROR "Only pthread are supported")
|
2012-02-13 12:37:38 +01:00
|
|
|
ENDIF(NOT CMAKE_USE_PTHREADS_INIT)
|
2012-01-25 10:42:00 +01:00
|
|
|
ENDIF(BUILD_JPIP_SERVER)
|
2011-08-12 16:59:28 +02:00
|
|
|
|
2012-01-25 17:30:03 +01:00
|
|
|
# JPIP library:
|
2011-08-12 16:59:28 +02:00
|
|
|
ADD_SUBDIRECTORY(libopenjpip)
|
2012-01-25 10:42:00 +01:00
|
|
|
|
2012-01-25 17:30:03 +01:00
|
|
|
# JPIP binaries:
|
|
|
|
ADD_SUBDIRECTORY(util)
|
|
|
|
|