summaryrefslogtreecommitdiffhomepage
path: root/cmake/CheckFileSystemSymlinkSupport.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/CheckFileSystemSymlinkSupport.cmake')
-rw-r--r--cmake/CheckFileSystemSymlinkSupport.cmake14
1 files changed, 0 insertions, 14 deletions
diff --git a/cmake/CheckFileSystemSymlinkSupport.cmake b/cmake/CheckFileSystemSymlinkSupport.cmake
deleted file mode 100644
index 8eb508cb..00000000
--- a/cmake/CheckFileSystemSymlinkSupport.cmake
+++ /dev/null
@@ -1,14 +0,0 @@
-# Populates a ${FILESYSTEM_LACKS_SYMLINKS} variable
-message(STATUS "Testing if file system supports symlinks")
-execute_process(
- COMMAND ${CMAKE_COMMAND} -E create_symlink CMakeLists.txt "${CMAKE_CURRENT_BINARY_DIR}/TestingIfSymlinkWorks"
- WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
- RESULT_VARIABLE FILESYSTEM_LACKS_SYMLINKS
- ERROR_QUIET
-)
-If (FILESYSTEM_LACKS_SYMLINKS)
- message(STATUS "Testing if file system supports symlinks -- unsupported")
-else()
- message(STATUS "Testing if file system supports symlinks -- supported")
-endif()
-