Remove workaround for supporting old versions of Visual Studio
This commit is contained in:
parent
d131beb0fd
commit
e5b85fc9b7
@ -117,12 +117,6 @@ elseif(SFML_OS_IOS)
|
|||||||
target_link_libraries(sfml-graphics PRIVATE z bz2)
|
target_link_libraries(sfml-graphics PRIVATE z bz2)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# starting from Visual Studio 2015, inline versions of some C functions are used; for compatibility link this library
|
|
||||||
# see https://docs.microsoft.com/en-us/cpp/porting/overview-of-potential-upgrade-issues-visual-cpp?view=msvc-160#libraries
|
|
||||||
if(SFML_COMPILER_MSVC OR (SFML_COMPILER_CLANG AND SFML_OS_WINDOWS AND NOT MINGW))
|
|
||||||
target_link_libraries(sfml-graphics PRIVATE legacy_stdio_definitions.lib)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
sfml_find_package(Freetype INCLUDE "FREETYPE_INCLUDE_DIRS" LINK "FREETYPE_LIBRARY")
|
sfml_find_package(Freetype INCLUDE "FREETYPE_INCLUDE_DIRS" LINK "FREETYPE_LIBRARY")
|
||||||
target_link_libraries(sfml-graphics PRIVATE Freetype)
|
target_link_libraries(sfml-graphics PRIVATE Freetype)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user