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 166 166 167 167 if(APPLE) 168 168 find_library(iokit_framework NAMES IOKit) 169 list(APPEND HW_LINK_LIBS ${iokit_framework})170 169 list(APPEND hwfr_src util/platform/CocoaInitializer.mm 171 170 util/platform/InstallController.cpp 172 171 util/platform/M3Panel.mm … … 219 218 ) 220 219 endif() 221 220 222 if(CMAKE_CXX_COMPILER MATCHES "clang*")223 list(APPEND HW_LINK_LIBS stdc++ m)224 endif()225 226 221 target_link_libraries(hedgewars ${HW_LINK_LIBS}) 227 222 228 223