diff --git a/CMakeLists.txt b/CMakeLists.txt index 93ba86f3..4afd21cf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -263,23 +263,6 @@ elseif (UNIX AND NOT APPLE AND NOT ANDROID) VERSION "${LT_VERSION}" ) endif() -if (BUILD_SHARED_LIBS) - if (WIN32 OR OS2) - set_target_properties(SDL2_ttf PROPERTIES - PREFIX "" - ) - endif() - if (OS2) - # OS/2 doesn't support a DLL name longer than 8 characters. - set_target_properties(SDL2_ttf PROPERTIES - OUTPUT_NAME "SDL2ttf" - ) - elseif (UNIX AND NOT APPLE AND NOT ANDROID) - set_target_properties(SDL2_ttf PROPERTIES - OUTPUT_NAME "SDL2_ttf-${LT_RELEASE}" - ) - endif() -endif() # Restore BUILD_SHARED_LIBS variable set(BUILD_SHARED_LIBS "${SDL2TTF_BUILD_SHARED_LIBS}")