File openjpeg-1.4-OpenJPEGConfig.patch of Package openjpeg
diff -up openjpeg_v1_4_sources_r697/CMakeLists.txt.OpenJPEGConfig openjpeg_v1_4_sources_r697/CMakeLists.txt
--- openjpeg_v1_4_sources_r697/CMakeLists.txt.OpenJPEGConfig 2011-01-31 14:58:21.281717282 -0700
+++ openjpeg_v1_4_sources_r697/CMakeLists.txt 2011-01-31 15:01:53.052718693 -0700
@@ -47,6 +47,8 @@ SET(OPENJPEG_LIBRARY_PROPERTIES
# OPENJPEG_INSTALL_DATA_DIR - share dir (say, examples, data, etc)
# OPENJPEG_INSTALL_INCLUDE_DIR - include dir (headers)
+# Used in OpenJPEGConfig.cmake
+SET(OPENJPEG_LIBRARIES ${OPENJPEG_LIBRARY_NAME})
# On Visual Studio 8 MS deprecated C. This removes all 1.276E1265 security
# warnings