ignore symlink creation failure error

This commit is contained in:
Shy 2020-04-07 11:36:05 -04:00 committed by Ahmad Fatoum
parent 2b5188c4b3
commit 81c44e32c3

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")