mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 19:13:07 +01:00
Remove no longer relevant CMake hack
This commit is contained in:
committed by
GitHub
parent
20a4e77b24
commit
cdcfcbfbe8
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user