소스 검색

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 년 전
부모
커밋
f89c1a559d
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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
 * 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
 .. note:: SOURCES
   Adding resources via the ``SOURCES`` parameter relies upon a hard-coded
   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.
   (e.g. File.java). ``SOURCES`` files which match the extensions are compiled.
   Files which do not match are treated as resources. To include uncompiled
   Files which do not match are treated as resources. To include uncompiled
   resources matching those file extensions use the ``RESOURCES`` parameter.
   resources matching those file extensions use the ``RESOURCES`` parameter.