From 6c9f6cf0846c0fcb4374f133adbd3ae67c81811e Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Wed, 8 Apr 2020 08:42:59 +0200 Subject: 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. --- src/CMakeLists.txt | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 2cee1b6b..aba877e7 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -208,16 +208,10 @@ if(SHARED) if (${PLATFORM} MATCHES "Desktop") target_link_libraries(raylib glfw) endif() - if (UNIX AND ${FILESYSTEM_LACKS_SYMLINKS}) - MESSAGE(WARNING "Can't version UNIX shared library on file system without symlink support") - else() - set_target_properties(raylib PROPERTIES - VERSION ${PROJECT_VERSION} - SOVERSION ${API_VERSION} - ) - endif() set_target_properties(raylib PROPERTIES PUBLIC_HEADER "raylib.h" + VERSION ${PROJECT_VERSION} + SOVERSION ${API_VERSION} ) if (WIN32) -- cgit v1.2.3