Advertisement
LocutusOfBorg

Untitled

Jan 9th, 2014
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. diff -r a666e4eefd27 QTfrontend/CMakeLists.txt
  2. --- a/QTfrontend/CMakeLists.txt Wed Jan 08 23:49:08 2014 +0100
  3. +++ b/QTfrontend/CMakeLists.txt Thu Jan 09 17:32:26 2014 +0100
  4. @@ -216,7 +216,7 @@
  5. endif()
  6.  
  7. if(CMAKE_CXX_COMPILER MATCHES "clang*")
  8. - list(APPEND HW_LINK_LIBS stdc++)
  9. + list(APPEND HW_LINK_LIBS stdc++ m)
  10. endif()
  11.  
  12. target_link_libraries(hedgewars ${HW_LINK_LIBS})
  13. diff -r a666e4eefd27 project_files/hwc/rtl/CMakeLists.txt
  14. --- a/project_files/hwc/rtl/CMakeLists.txt Wed Jan 08 23:49:08 2014 +0100
  15. +++ b/project_files/hwc/rtl/CMakeLists.txt Thu Jan 09 17:32:26 2014 +0100
  16. @@ -4,6 +4,7 @@
  17. file(GLOB fpcrtl_src *.c)
  18.  
  19. add_library(fpcrtl STATIC ${fpcrtl_src})
  20. +target_link_libraries(fpcrtl m)
  21.  
  22. #if(WEBGL)
  23. # set_target_properties(fpcrtl PROPERTIES PREFIX "em")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement