Browse Source

ignore symlink creation failure error

pull/1184/head
Shy 5 years ago
committed by Ahmad Fatoum
parent
commit
81c44e32c3
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      cmake/CheckFileSystemSymlinkSupport.cmake

+ 1
- 0
cmake/CheckFileSystemSymlinkSupport.cmake View File

@ -4,6 +4,7 @@ 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")

Loading…
Cancel
Save