openjpeg/applications/jpip/CMakeLists.txt

17 lines
381 B
CMake

# 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:
add_subdirectory(libopenjpip)
# JPIP binaries:
add_subdirectory(util)