A couple typos found by codespell
[openjpeg.git] / src / bin / jpip / CMakeLists.txt
index 301d885bace0a74916080ffece561aa84ea429ed..9b24fa4a32b6ff949a52a87c1dae2e8f526408c7 100644 (file)
@@ -57,14 +57,14 @@ add_executable(${exe} ${exe}.c)
 endforeach()
 
 # Build the two java clients:
-find_package(Java 1.5 COMPONENTS Development) # javac, jar
+find_package(Java 1.6 COMPONENTS Development) # javac, jar
 
 # User can override this:
 if(NOT DEFINED JAVA_SOURCE_VERSION)
-  set(JAVA_SOURCE_VERSION 1.5)
+  set(JAVA_SOURCE_VERSION 1.6)
 endif()
 if(NOT DEFINED JAVA_TARGET_VERSION)
-  set(JAVA_TARGET_VERSION 1.5)
+  set(JAVA_TARGET_VERSION 1.6)
 endif()
 
 # Only build the java viewer if dev is found:
@@ -157,5 +157,5 @@ if(Java_Development_FOUND AND Java_JAVAC_EXECUTABLE)
       )
   endif()
 else()
-  message(WARNING "No java compiler found. Wont be able to build java viewer")
+  message(WARNING "No java compiler found. Won't be able to build java viewer")
 endif()