Factor index computation for lut_enc_ctxno_sc and lut_enc_spb
[openjpeg.git] / src / lib / CMakeLists.txt
index b69399a54223a9327c689449c1966d2fa13274e4..da8846b65b7023f99587b482f5e206f5095d5851 100644 (file)
@@ -3,12 +3,15 @@
 add_subdirectory(openjp2)
 
 # optionals components:
-if(BUILD_JPIP)
-  add_subdirectory(openjpip)
-endif()
 if(BUILD_JPWL)
   add_subdirectory(openjpwl)
 endif()
+if(BUILD_MJ2)
+  add_subdirectory(openmj2)
+endif()
+if(BUILD_JPIP)
+  add_subdirectory(openjpip)
+endif()
 if(BUILD_JP3D)
   add_subdirectory(openjp3d)
 endif()