summaryrefslogtreecommitdiffstats
path: root/cmake/Modules/UseJavaSymlinks.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/Modules/UseJavaSymlinks.cmake')
-rw-r--r--cmake/Modules/UseJavaSymlinks.cmake15
1 files changed, 0 insertions, 15 deletions
diff --git a/cmake/Modules/UseJavaSymlinks.cmake b/cmake/Modules/UseJavaSymlinks.cmake
deleted file mode 100644
index dbc4694..0000000
--- a/cmake/Modules/UseJavaSymlinks.cmake
+++ /dev/null
@@ -1,15 +0,0 @@
-if (UNIX AND _JAVA_TARGET_OUTPUT_LINK)
- if (_JAVA_TARGET_OUTPUT_NAME)
- find_program(LN_EXECUTABLE
- NAMES
- ln
- )
-
- execute_process(
- COMMAND ${LN_EXECUTABLE} -sf "${_JAVA_TARGET_OUTPUT_NAME}" "${_JAVA_TARGET_OUTPUT_LINK}"
- WORKING_DIRECTORY ${_JAVA_TARGET_DIR}
- )
- else (_JAVA_TARGET_OUTPUT_NAME)
- message(SEND_ERROR "FATAL: Can't find _JAVA_TARGET_OUTPUT_NAME")
- endif (_JAVA_TARGET_OUTPUT_NAME)
-endif (UNIX AND _JAVA_TARGET_OUTPUT_LINK)