diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2021-01-13 14:29:15 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-13 14:29:15 (GMT) |
commit | b1eb47ac4dce3f5bd548fb3bee0f630679b1eee8 (patch) | |
tree | eba373a72f3644af48ce222d9046709584dd85e9 /java | |
parent | b84f48f929ec02b9a2fefa036c63656af2f4aa89 (diff) | |
download | hdf5-b1eb47ac4dce3f5bd548fb3bee0f630679b1eee8.zip hdf5-b1eb47ac4dce3f5bd548fb3bee0f630679b1eee8.tar.gz hdf5-b1eb47ac4dce3f5bd548fb3bee0f630679b1eee8.tar.bz2 |
Reclassify CMake messages - HDFFV-11144 (#253)
* OESS-98 convert plugin option to FetchContent, add tests
* Fixes for pkcfg files because of plugin option
* OESS-98 fix tools test for plugins
* Keep doxygen comments under 100 chars long - format hint
* Whitespace
* HDFFV-11144 - Reclassify CMake messages
Diffstat (limited to 'java')
-rw-r--r-- | java/CMakeLists.txt | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/java/CMakeLists.txt b/java/CMakeLists.txt index 416e495..5c79bd3 100644 --- a/java/CMakeLists.txt +++ b/java/CMakeLists.txt @@ -9,10 +9,14 @@ find_package (Java) #----------------------------------------------------------------------------- include (${HDF_RESOURCES_DIR}/UseJava.cmake) -message (STATUS "JAVA: JAVA_HOME=$ENV{JAVA_HOME} JAVA_ROOT=$ENV{JAVA_ROOT}") +if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0") + message (VERBOSE "JAVA: JAVA_HOME=$ENV{JAVA_HOME} JAVA_ROOT=$ENV{JAVA_ROOT}") +endif () find_package (JNI) -message (STATUS "JNI_LIBRARIES=${JNI_LIBRARIES}") -message (STATUS "JNI_INCLUDE_DIRS=${JNI_INCLUDE_DIRS}") +if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0") + message (VERBOSE "JNI_LIBRARIES=${JNI_LIBRARIES}") + message (VERBOSE "JNI_INCLUDE_DIRS=${JNI_INCLUDE_DIRS}") +endif () if (WIN32) |