X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2Fgdcmopenjpeg%2FCMakeLists.txt;h=35d2019b2e096e5a5235fb0dd6c3c10782630c2e;hb=779c8f5232ad160d353b90d3fa47d0503e17965d;hp=ae602397e9276ceb83dfdae7dbf4f72b7b3e73cf;hpb=6dafb9f0aecda951ea1936e4a224cb489d4781ce;p=gdcm.git diff --git a/src/gdcmopenjpeg/CMakeLists.txt b/src/gdcmopenjpeg/CMakeLists.txt index ae602397..35d2019b 100644 --- a/src/gdcmopenjpeg/CMakeLists.txt +++ b/src/gdcmopenjpeg/CMakeLists.txt @@ -1,5 +1,11 @@ PROJECT(OPENJPEG) +# For openjpeg team if they ever want Dart+CMake +IF(FALSE) + ENABLE_TESTING() + INCLUDE (${CMAKE_ROOT}/Modules/Dart.cmake) +ENDIF(FALSE) + #----------------------------------------------------------------------------- # OPENJPEG version number, usefull for packaging and doxygen doc: SET(OPENJPEG_MAJOR_VERSION 0) @@ -8,17 +14,12 @@ SET(OPENJPEG_BUILD_VERSION 0) SET(OPENJPEG_VERSION "${OPENJPEG_MAJOR_VERSION}.${OPENJPEG_MINOR_VERSION}.${OPENJPEG_BUILD_VERSION}") -#----------------------------------------------------------------------------- -# Build shared lib by default -OPTION(OPENJPEG_BUILD_SHARED_LIBS "Build OPENJPEG with shared libraries." ON) -SET(BUILD_SHARED_LIBS ${OPENJPEG_BUILD_SHARED_LIBS}) #----------------------------------------------------------------------------- -SET (EXECUTABLE_OUTPUT_PATH ${OPENJPEG_BINARY_DIR}/bin CACHE PATH "Single output directory for building all executables.") -SET (LIBRARY_OUTPUT_PATH ${OPENJPEG_BINARY_DIR}/bin CACHE PATH "Single output directory for building all libraries.") -MARK_AS_ADVANCED(LIBRARY_OUTPUT_PATH EXECUTABLE_OUTPUT_PATH) - SUBDIRS( libopenjpeg - # codec + #codec ) + +# TODO, technically we should not have to ... +# http://www.crc.ricoh.com/~gormish/jpeg2000conformance/