summaryrefslogtreecommitdiffstats
path: root/config/cmake/UseJavaClassFilelist.cmake
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2021-09-08 13:06:22 (GMT)
committerGitHub <noreply@github.com>2021-09-08 13:06:22 (GMT)
commit53ecc9c49f44e4eb8cf79f3121572e1a91c507fa (patch)
tree6ca48b4271af933d00c2937e0437fd73d7531c58 /config/cmake/UseJavaClassFilelist.cmake
parentd0507c23f30fc1ff66ae4a31d41f681612e51851 (diff)
downloadhdf5-53ecc9c49f44e4eb8cf79f3121572e1a91c507fa.zip
hdf5-53ecc9c49f44e4eb8cf79f3121572e1a91c507fa.tar.gz
hdf5-53ecc9c49f44e4eb8cf79f3121572e1a91c507fa.tar.bz2
Merge Sync CMake java macros with cmake repo #982 (#991)
Diffstat (limited to 'config/cmake/UseJavaClassFilelist.cmake')
-rw-r--r--config/cmake/UseJavaClassFilelist.cmake17
1 files changed, 4 insertions, 13 deletions
diff --git a/config/cmake/UseJavaClassFilelist.cmake b/config/cmake/UseJavaClassFilelist.cmake
index 8348e4c..d90ca48 100644
--- a/config/cmake/UseJavaClassFilelist.cmake
+++ b/config/cmake/UseJavaClassFilelist.cmake
@@ -1,17 +1,8 @@
# Distributed under the OSI-approved BSD 3-Clause License. See https://cmake.org/licensing for details.
-#[=======================================================================[.rst:
-UseJavaClassFilelist
---------------------
-
-
-
-
-
-This script create a list of compiled Java class files to be added to
-a jar file. This avoids including cmake files which get created in
-the binary directory.
-#]=======================================================================]
+# This script creates a list of compiled Java class files to be added to
+# a jar file. This avoids including cmake files which get created in
+# the binary directory.
if (CMAKE_JAVA_CLASS_OUTPUT_PATH)
if (EXISTS "${CMAKE_JAVA_CLASS_OUTPUT_PATH}")
@@ -23,7 +14,7 @@ if (CMAKE_JAVA_CLASS_OUTPUT_PATH)
file(GLOB_RECURSE _JAVA_GLOBBED_TMP_FILES "${CMAKE_JAVA_CLASS_OUTPUT_PATH}/${JAR_CLASS_PREFIX}/*.class")
if (_JAVA_GLOBBED_TMP_FILES)
- list (APPEND _JAVA_GLOBBED_FILES ${_JAVA_GLOBBED_TMP_FILES})
+ list(APPEND _JAVA_GLOBBED_FILES ${_JAVA_GLOBBED_TMP_FILES})
endif ()
endforeach()
else()