X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2Fgdcmopenjpeg%2FCMakeLists.txt;h=35d2019b2e096e5a5235fb0dd6c3c10782630c2e;hb=d7531a8099267279c067b9115309cdc10f8eb46d;hp=94fa53f0f4f387b2b2c44c94b3d9a7843fbb6f79;hpb=7452f3039ff4dd2574fcbf3343b530a2f20f9623;p=gdcm.git diff --git a/src/gdcmopenjpeg/CMakeLists.txt b/src/gdcmopenjpeg/CMakeLists.txt index 94fa53f0..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/