Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # HG changeset patch
- # User Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
- # Date 1389290215 -3600
- # Thu Jan 09 18:56:55 2014 +0100
- # Branch webgl
- # Node ID a2e87f77093cf3f0c30a51d10ff8e1733661cb6c
- # Parent a666e4eefd2712af123e0fb74556f8806365d45c
- Fixed build failure to a missing math library linked with BUILD_ENGINE_C=1 and clang
- diff -r a666e4eefd27 -r a2e87f77093c QTfrontend/CMakeLists.txt
- --- a/QTfrontend/CMakeLists.txt Wed Jan 08 23:49:08 2014 +0100
- +++ b/QTfrontend/CMakeLists.txt Thu Jan 09 18:56:55 2014 +0100
- @@ -216,7 +216,7 @@
- endif()
- if(CMAKE_CXX_COMPILER MATCHES "clang*")
- - list(APPEND HW_LINK_LIBS stdc++)
- + list(APPEND HW_LINK_LIBS stdc++ m)
- endif()
- target_link_libraries(hedgewars ${HW_LINK_LIBS})
- diff -r a666e4eefd27 -r a2e87f77093c project_files/hwc/rtl/CMakeLists.txt
- --- a/project_files/hwc/rtl/CMakeLists.txt Wed Jan 08 23:49:08 2014 +0100
- +++ b/project_files/hwc/rtl/CMakeLists.txt Thu Jan 09 18:56:55 2014 +0100
- @@ -4,6 +4,7 @@
- file(GLOB fpcrtl_src *.c)
- add_library(fpcrtl STATIC ${fpcrtl_src})
- +target_link_libraries(fpcrtl m)
- #if(WEBGL)
- # set_target_properties(fpcrtl PROPERTIES PREFIX "em")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement