]> granicus.if.org Git - openjpeg/commitdiff
correct a compil error linked to getopt with win platform
authorMickael Savinaud <savmickael@users.noreply.github.com>
Thu, 21 Jul 2011 16:26:23 +0000 (16:26 +0000)
committerMickael Savinaud <savmickael@users.noreply.github.com>
Thu, 21 Jul 2011 16:26:23 +0000 (16:26 +0000)
CHANGES
tests/CMakeLists.txt

diff --git a/CHANGES b/CHANGES
index 5ef91e23b22fd86fee04b8e048248e3a79473cd9..0566072c42e172a7d8a3ef7169eb6a11c1a71d8f 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -6,6 +6,7 @@ What's New for OpenJPEG
 + : added
 
 July 21, 2011
+! [mickael] correct a compil error linked to getopt with win platform
 !+ [mickael] add new decode tests based on conformance data and tolerance. Non regression is also added on the decoder output. Deactivate old tests.
 ! [mickael] to follow last version of conformance data about component separator for pgx file, we changed - to _ separator even if nb component = 1
 ! [mickael] removed unused warning configuration message
index 29879b8256428ef7d505f73f07ac305f56d66a9a..858befb4a1a6334812918ee4c9fde8c24a71fe15 100644 (file)
@@ -11,8 +11,8 @@ SET(comparePGXimages_SRCS comparePGXimages.c ${OPENJPEG_SOURCE_DIR}/applications
 # If not getopt was found then add it to the exe:
 IF(DONT_HAVE_GETOPT)
   message("dont have getopt, we will add it")
-  SET(common_SRCS
-    ${common_SRCS}
+  SET(comparePGXimages_SRCS
+    ${comparePGXimages_SRCS}
     ${OPENJPEG_SOURCE_DIR}/applications/common/getopt.c
   )
 ENDIF(DONT_HAVE_GETOPT)
@@ -28,4 +28,4 @@ IF(NOT HAVE_LIBPNG)
   MESSAGE(WARNING "Lib PNG seems to be not available: if you want run the non-regression tests with images reported to the dashboard, you need it (try BUILD_THIRDPARTY)") 
 ENDIF(NOT HAVE_LIBPNG)
 
-ADD_SUBDIRECTORY(conformance)
\ No newline at end of file
+ADD_SUBDIRECTORY(conformance)