diff options
-rw-r--r-- | trunk/CMakeLists.txt | 1 | ||||
-rw-r--r-- | trunk/ChangeLog.txt | 4 | ||||
-rwxr-xr-x | trunk/sharedlib/CMakeLists.txt | 1 |
3 files changed, 6 insertions, 0 deletions
diff --git a/trunk/CMakeLists.txt b/trunk/CMakeLists.txt index 388c582..10960eb 100644 --- a/trunk/CMakeLists.txt +++ b/trunk/CMakeLists.txt @@ -225,6 +225,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) diff --git a/trunk/ChangeLog.txt b/trunk/ChangeLog.txt index 00a4ede..17bf538 100644 --- a/trunk/ChangeLog.txt +++ b/trunk/ChangeLog.txt @@ -38,6 +38,10 @@ size and component order of the uncompressed source/destination images as well as uses the libjpeg memory source and destination managers. The latter allows the TurboJPEG compressor to grow the JPEG buffer as necessary. +[12] 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 ===== diff --git a/trunk/sharedlib/CMakeLists.txt b/trunk/sharedlib/CMakeLists.txt index 7db7e2f..97e06e3 100755 --- a/trunk/sharedlib/CMakeLists.txt +++ b/trunk/sharedlib/CMakeLists.txt @@ -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 |