Browse Source

UseJava: Avoid non-word "compilability" in documentation

Also fix spelling in the release note from commit 3e03f359a7 (UseJava:
Add RESOURCES with NAMESPACE to add_jar(), 2021-04-27).
Brad King 4 years ago
parent
commit
f89c1a559d
2 changed files with 2 additions and 2 deletions
  1. 1 1
      Help/release/dev/UseJava-RESOURCES-NAMESPACE.rst
  2. 1 1
      Modules/UseJava.cmake

+ 1 - 1
Help/release/dev/UseJava-RESOURCES-NAMESPACE.rst

@@ -2,4 +2,4 @@ UseJava-RESOURCES-NAMESPACE
 ---------------------------
 
 * The :module:`UseJava` module command ``add_jar`` gained option RESOURCES
-  allow explicit naming of resouces with non-optional namespace.
+  allow explicit naming of resources with non-optional namespace.

+ 1 - 1
Modules/UseJava.cmake

@@ -51,7 +51,7 @@ almost certainly result in confusion.
 
 .. note:: SOURCES
   Adding resources via the ``SOURCES`` parameter relies upon a hard-coded
-  list of file extensions which are tested to determine compilability
+  list of file extensions which are tested to determine whether they compile
   (e.g. File.java). ``SOURCES`` files which match the extensions are compiled.
   Files which do not match are treated as resources. To include uncompiled
   resources matching those file extensions use the ``RESOURCES`` parameter.