openjpeg/thirdparty/CMakeLists.txt

21 lines
364 B
CMake

CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
IF(BUILD_THIRDPARTY)
#
IF(NOT ZLIB_FOUND)
ADD_SUBDIRECTORY(libz)
ENDIF(NOT ZLIB_FOUND)
#
IF(NOT PNG_FOUND)
ADD_SUBDIRECTORY(libpng)
ENDIF(NOT PNG_FOUND)
#
IF(NOT LCMS2_FOUND)
ADD_SUBDIRECTORY(liblcms2)
ENDIF(NOT LCMS2_FOUND)
#
IF(NOT TIFF_FOUND)
ADD_SUBDIRECTORY(libtiff)
ENDIF(NOT TIFF_FOUND)
#
ENDIF(BUILD_THIRDPARTY)