diff --git a/CMakeLists.txt b/CMakeLists.txt index ba604b43..d0af65e3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ # Setup # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 2.8.8) project(libjpeg-turbo C) set(VERSION 1.3.1) diff --git a/ChangeLog.txt b/ChangeLog.txt index 4b51ad37..df0041e1 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -26,6 +26,9 @@ libjpeg-turbo to use uninitialized memory during decompression. when calling the TurboJPEG YUV encoding function with a very small (< 5x5) source image, and added a unit test to check for this error. +[6] The Java classes should now build properly under Visual Studio 2010 and +later. + 1.3.0 ===== diff --git a/java/CMakeLists.txt b/java/CMakeLists.txt index 87db412e..19127e30 100644 --- a/java/CMakeLists.txt +++ b/java/CMakeLists.txt @@ -13,7 +13,7 @@ set(JAVA_CLASSNAMES org/libjpegturbo/turbojpeg/TJ TJBench) if(MSVC_IDE) - set(OBJDIR "${CMAKE_CURRENT_BINARY_DIR}/$(OutDir)") + set(OBJDIR "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}") else() set(OBJDIR ${CMAKE_CURRENT_BINARY_DIR}) endif()