CMake: Don't create symlinks on unsupporting file systems (#539)

Panders to the idiosyncrasies of my work flow:
I have my raylib build directory mounted as a VirtualBox vboxfs for use
with my Linux VM, but vboxfs doesn't support symlinks, while raylib shared
library versioning on Unix expects symlinks to work.
If this happens, library versioning is now disabled on Unix with
an error message instead of just failing the build.
This commit is contained in:
Ahmad Fatoum
2018-05-10 21:03:43 +02:00
committed by GitHub
parent 8ae8d3ac78
commit b8ca51fd01
3 changed files with 22 additions and 3 deletions

3
.gitignore vendored
View File

@ -98,7 +98,7 @@ project/vs2015.UWP/*.db
!project/vs2015.UWP/*.sln
!project/vs2015.UWP/raylib.App.UWP/*.vcxproj
# Web examples
# Web examples
docs/examples/web/*.html
docs/examples/web/*/*.html
!docs/examples/web/loader.html
@ -116,6 +116,7 @@ CMakeCache.txt
CMakeFiles
CMakeScripts
Testing
TestingIfSymlinkWorks
cmake_install.cmake
install_manifest.txt
compile_commands.json