]> granicus.if.org Git - libjpeg-turbo/commitdiff
jpegtran on Windows needs the same fix as cjpeg and djpeg to eliminate errors when...
authorDRC <dcommander@users.sourceforge.net>
Wed, 25 May 2011 06:04:43 +0000 (06:04 +0000)
committerDRC <dcommander@users.sourceforge.net>
Wed, 25 May 2011 06:04:43 +0000 (06:04 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.1.x@650 632fc199-4ca6-4c93-a231-07263d6284db

CMakeLists.txt
ChangeLog.txt
sharedlib/CMakeLists.txt

index f347edd6762319d23469abcf7871b64afa429a8c..e69a25fbbda4611cb082664645081c4d8f8a7c14 100644 (file)
@@ -189,6 +189,7 @@ target_link_libraries(djpeg-static jpeg-static)
 
 add_executable(jpegtran-static jpegtran.c cdjpeg.c rdswitch.c transupp.c)
 target_link_libraries(jpegtran-static jpeg-static)
+set_property(TARGET jpegtran-static PROPERTY COMPILE_FLAGS "-DUSE_SETMODE")
 
 add_executable(rdjpgcom rdjpgcom.c)
 
index 50a6cd2d33201596e05b728e0cdc13a0a808741c..ecba1087fda1f73f469f299bab5dc77692d58a97 100644 (file)
@@ -1,3 +1,11 @@
+1.1.2
+=====
+
+[1] Eliminated errors in the output of jpegtran on Windows that occurred when
+the application was invoked using I/O redirection
+(jpegtran <input.jpg >output.jpg).
+
+
 1.1.1
 =====
 
index 7db7e2fd01c34b62ecc14a2dade61d1e4a857b0e..97e06e391742f9aadbbce787fe28617df349090e 100755 (executable)
@@ -51,6 +51,7 @@ target_link_libraries(djpeg jpeg)
 
 add_executable(jpegtran ../jpegtran.c ../cdjpeg.c ../rdswitch.c ../transupp.c)
 target_link_libraries(jpegtran jpeg)
+set_property(TARGET jpegtran PROPERTY COMPILE_FLAGS "-DUSE_SETMODE")
 
 install(TARGETS jpeg cjpeg djpeg jpegtran
   ARCHIVE DESTINATION lib