From 3d22937cff045c0e308b09a2358eb1656e2f294e Mon Sep 17 00:00:00 2001 From: Clifford Yapp <238416+starseeker@users.noreply.github.com> Date: Wed, 11 Sep 2024 12:02:45 -0400 Subject: [PATCH] Since we have to feed command line parameters, print them back out so we can see if anything needs quoting. --- CMake/JavaCheck.cmake | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CMake/JavaCheck.cmake b/CMake/JavaCheck.cmake index bc88b1f2..74477eb2 100644 --- a/CMake/JavaCheck.cmake +++ b/CMake/JavaCheck.cmake @@ -138,6 +138,13 @@ if (NOT JCEXEC OR NOT JAREXEC OR NOT JEXEC) set(JAREXEC ${Java_JAR_EXECUTABLE}) endif (NOT JCEXEC OR NOT JAREXEC OR NOT JEXEC) +# Report the active parameters +message("Java executable (JEXEC): ${JEXEC}") +message("Java compiler executable (JCEXEC): ${JCEXEC}") +message("Java archiver executable (JAREXEC): ${JAREXEC}") +message("Dll suffix (DLLSUFFIX): ${DLLSUFFIX}") +message("Dll directory (DLL_DIR): ${DLL_DIR}") + if (JCEXEC AND JAREXEC AND JEXEC AND DLLSUFFIX AND DLL_DIR) JavaCheck(${JCEXEC} ${JAREXEC} ${JEXEC} ${DLLSUFFIX} ${DLL_DIR}) endif ()