summaryrefslogtreecommitdiffstats
path: root/config/cmake/CMakeFindJavaCommon.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'config/cmake/CMakeFindJavaCommon.cmake')
-rw-r--r--config/cmake/CMakeFindJavaCommon.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/cmake/CMakeFindJavaCommon.cmake b/config/cmake/CMakeFindJavaCommon.cmake
index eabb622..528791d 100644
--- a/config/cmake/CMakeFindJavaCommon.cmake
+++ b/config/cmake/CMakeFindJavaCommon.cmake
@@ -16,7 +16,7 @@ else()
set(_JAVA_HOME_EXPLICIT 1)
else()
set(_CMD_JAVA_HOME "")
- if(APPLE AND EXISTS /usr/libexec/java_home)
+ if(APPLE AND EXISTS "/usr/libexec/java_home")
execute_process(COMMAND /usr/libexec/java_home
OUTPUT_VARIABLE _CMD_JAVA_HOME OUTPUT_STRIP_TRAILING_WHITESPACE)
endif()