Advertisement
LocutusOfBorg

Untitled

Jan 9th, 2014
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. # HG changeset patch
  2. # User Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
  3. # Date 1389290215 -3600
  4. # Thu Jan 09 18:56:55 2014 +0100
  5. # Branch webgl
  6. # Node ID a2e87f77093cf3f0c30a51d10ff8e1733661cb6c
  7. # Parent a666e4eefd2712af123e0fb74556f8806365d45c
  8. Fixed build failure to a missing math library linked with BUILD_ENGINE_C=1 and clang
  9.  
  10. diff -r a666e4eefd27 -r a2e87f77093c QTfrontend/CMakeLists.txt
  11. --- a/QTfrontend/CMakeLists.txt Wed Jan 08 23:49:08 2014 +0100
  12. +++ b/QTfrontend/CMakeLists.txt Thu Jan 09 18:56:55 2014 +0100
  13. @@ -216,7 +216,7 @@
  14. endif()
  15.  
  16. if(CMAKE_CXX_COMPILER MATCHES "clang*")
  17. - list(APPEND HW_LINK_LIBS stdc++)
  18. + list(APPEND HW_LINK_LIBS stdc++ m)
  19. endif()
  20.  
  21. target_link_libraries(hedgewars ${HW_LINK_LIBS})
  22. diff -r a666e4eefd27 -r a2e87f77093c project_files/hwc/rtl/CMakeLists.txt
  23. --- a/project_files/hwc/rtl/CMakeLists.txt Wed Jan 08 23:49:08 2014 +0100
  24. +++ b/project_files/hwc/rtl/CMakeLists.txt Thu Jan 09 18:56:55 2014 +0100
  25. @@ -4,6 +4,7 @@
  26. file(GLOB fpcrtl_src *.c)
  27.  
  28. add_library(fpcrtl STATIC ${fpcrtl_src})
  29. +target_link_libraries(fpcrtl m)
  30.  
  31. #if(WEBGL)
  32. # set_target_properties(fpcrtl PROPERTIES PREFIX "em")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement