diff options
| author | Ahmad Fatoum <[email protected]> | 2020-04-08 08:42:59 +0200 |
|---|---|---|
| committer | Ahmad Fatoum <[email protected]> | 2020-04-08 11:01:26 +0200 |
| commit | 6c9f6cf0846c0fcb4374f133adbd3ae67c81811e (patch) | |
| tree | a51eb4b178b7d8a0da1e8920eb3da5c7b5a0ffa4 /cmake/CheckFileSystemSymlinkSupport.cmake | |
| parent | 81c44e32c3df6afe66feadff03fbcaf92e719f9e (diff) | |
| download | raylib-6c9f6cf0846c0fcb4374f133adbd3ae67c81811e.tar.gz raylib-6c9f6cf0846c0fcb4374f133adbd3ae67c81811e.zip | |
Revert "CMake: Don't create symlinks on unsupporting file systems (#539)"
As noted in #539, the symlink check was to support compiling raylib on
VirtualBox vboxfs as no symlinks are supported there.
With me using Linux as daily driver outside VirtualBox now, this 'feature'
is most likely unused by anyone, but still annoys other users (#791).
Just revert it and be done with it. If there are really others building
raylib on vboxfs or a similarly crippled file system under Linux, they
should now step forward when their build breaks.
This reverts commit b8ca51fd01a68b9b6040f8c3c631eedefd7d7735.
Diffstat (limited to 'cmake/CheckFileSystemSymlinkSupport.cmake')
| -rw-r--r-- | cmake/CheckFileSystemSymlinkSupport.cmake | 14 |
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() - |
