2012-03-02 11:23:20 +01:00
|
|
|
# required dep for server:
|
|
|
|
IF(BUILD_JPIP_SERVER)
|
|
|
|
FIND_PACKAGE(CURL REQUIRED)
|
|
|
|
FIND_PACKAGE(FCGI REQUIRED)
|
|
|
|
FIND_PACKAGE(Threads REQUIRED)
|
|
|
|
IF(NOT CMAKE_USE_PTHREADS_INIT)
|
|
|
|
MESSAGE(FATAL_ERROR "Only pthread are supported")
|
|
|
|
ENDIF(NOT CMAKE_USE_PTHREADS_INIT)
|
|
|
|
ENDIF(BUILD_JPIP_SERVER)
|
|
|
|
|
|
|
|
# JPIP library:
|
2011-08-12 15:57:36 +02:00
|
|
|
ADD_SUBDIRECTORY(libopenjpip)
|
2012-03-02 11:23:20 +01:00
|
|
|
|
|
|
|
# JPIP binaries:
|
2011-10-25 23:10:48 +02:00
|
|
|
ADD_SUBDIRECTORY(util)
|
2012-03-02 11:23:20 +01:00
|
|
|
|