diff options
Diffstat (limited to 'Modules/UseJavaSymlinks.cmake')
-rw-r--r-- | Modules/UseJavaSymlinks.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/UseJavaSymlinks.cmake b/Modules/UseJavaSymlinks.cmake index c66ee1ea1..88dd7689c 100644 --- a/Modules/UseJavaSymlinks.cmake +++ b/Modules/UseJavaSymlinks.cmake @@ -26,7 +26,7 @@ if (UNIX AND _JAVA_TARGET_OUTPUT_LINK) COMMAND ${LN_EXECUTABLE} -sf "${_JAVA_TARGET_OUTPUT_NAME}" "${_JAVA_TARGET_OUTPUT_LINK}" WORKING_DIRECTORY ${_JAVA_TARGET_DIR} ) - else (_JAVA_TARGET_OUTPUT_NAME) + else () message(SEND_ERROR "FATAL: Can't find _JAVA_TARGET_OUTPUT_NAME") - endif (_JAVA_TARGET_OUTPUT_NAME) -endif (UNIX AND _JAVA_TARGET_OUTPUT_LINK) + endif () +endif () |