Ticket #55335: patch-0004-remove-hardcoded-stdlib-and-iokit-QTfrontend.diff

File patch-0004-remove-hardcoded-stdlib-and-iokit-QTfrontend.diff, 629 bytes (added by ryandesign (Ryan Carsten Schmidt), 7 years ago)
  • QTfrontend/CMakeLists.txt

    old new  
    166166
    167167if(APPLE)
    168168    find_library(iokit_framework NAMES IOKit)
    169     list(APPEND HW_LINK_LIBS ${iokit_framework})
    170169    list(APPEND hwfr_src util/platform/CocoaInitializer.mm
    171170                         util/platform/InstallController.cpp
    172171                         util/platform/M3Panel.mm
     
    219218        )
    220219endif()
    221220
    222 if(CMAKE_CXX_COMPILER MATCHES "clang*")
    223     list(APPEND HW_LINK_LIBS stdc++ m)
    224 endif()
    225 
    226221target_link_libraries(hedgewars ${HW_LINK_LIBS})
    227222
    228223