Cocoa: Remove stale GCC workaround

This commit is contained in:
Camilla Löwy 2019-12-15 16:32:06 +01:00
parent 18307467b4
commit 994c3b4e48

View File

@ -150,9 +150,6 @@ if (BUILD_SHARED_LIBS)
target_compile_definitions(glfw INTERFACE GLFW_DLL) target_compile_definitions(glfw INTERFACE GLFW_DLL)
elseif (APPLE) elseif (APPLE)
# Add -fno-common to work around a bug in Apple's GCC
target_compile_options(glfw PRIVATE "-fno-common")
set_target_properties(glfw PROPERTIES set_target_properties(glfw PROPERTIES
INSTALL_NAME_DIR "${CMAKE_INSTALL_LIBDIR}") INSTALL_NAME_DIR "${CMAKE_INSTALL_LIBDIR}")
endif() endif()