Remove no longer relevant CMake hack

This commit is contained in:
Michael Steenbeek authored and GitHub committed 2020-06-09 18:03:17 +02:00
1 parent 20a4e77b24
commit cdcfcbfbe8
1 file changed
-7
-7
View File
@@ -175,13 +175,6 @@ if (NOT MINGW AND NOT MSVC)
endif ()
endif ()
if (NOT APPLE AND NOT MINGW AND NOT MSVC)
# This is ugly hack to work around https://bugs.launchpad.net/ubuntu/+source/gcc-5/+bug/1568899.
# Once C++17 is enabled (and thus old compilers are no longer supported, this needs to be gone.
# We cannot simply detect the _compiler_ version, as the bug exists with the C++ _library_
target_link_libraries(${PROJECT_NAME} gcc_s gcc)
endif ()
if (NOT DISABLE_TTF)
if (STATIC)
target_link_libraries(${PROJECT_NAME} ${FREETYPE_STATIC_LIBRARIES})