--- openjpeg-2.1.2/src/lib/openmj2/CMakeLists.txt.orig	2016-10-01 08:10:06.022398600 -0400
+++ openjpeg-2.1.2/src/lib/openmj2/CMakeLists.txt	2016-10-01 08:17:44.735110000 -0400
@@ -53,7 +53,9 @@
 # Install library
 install(TARGETS ${OPENMJ2_LIBRARY_NAME}
   EXPORT OpenMJ2Targets
-  DESTINATION ${OPENJPEG_INSTALL_LIB_DIR}
+  RUNTIME DESTINATION ${OPENJPEG_INSTALL_BIN_DIR} COMPONENT Applications
+  LIBRARY DESTINATION ${OPENJPEG_INSTALL_LIB_DIR} COMPONENT Libraries
+  ARCHIVE DESTINATION ${OPENJPEG_INSTALL_LIB_DIR} COMPONENT Libraries
   COMPONENT Libraries
 )
 
--- openjpeg-2.1.2/src/lib/openjp3d/CMakeLists.txt.orig	2016-10-01 08:10:06.029399900 -0400
+++ openjpeg-2.1.2/src/lib/openjp3d/CMakeLists.txt	2016-10-01 08:30:34.655082300 -0400
@@ -34,7 +34,9 @@
 # Install library
 install(TARGETS ${OPENJP3D_LIBRARY_NAME}
   EXPORT OpenJP3DTargets
-  DESTINATION ${OPENJPEG_INSTALL_LIB_DIR}
+  RUNTIME DESTINATION ${OPENJPEG_INSTALL_BIN_DIR} COMPONENT Applications
+  LIBRARY DESTINATION ${OPENJPEG_INSTALL_LIB_DIR} COMPONENT Libraries
+  ARCHIVE DESTINATION ${OPENJPEG_INSTALL_LIB_DIR} COMPONENT Libraries
   COMPONENT Libraries
 )
 
