]> Creatis software - gdcm.git/blobdiff - src/gdcmopenjpeg/CMakeLists.txt
* Fix compilation warnings
[gdcm.git] / src / gdcmopenjpeg / CMakeLists.txt
index 94fa53f0f4f387b2b2c44c94b3d9a7843fbb6f79..35d2019b2e096e5a5235fb0dd6c3c10782630c2e 100644 (file)
@@ -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/