Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # HG changeset patch
- # User Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
- # Date 1389291012 -3600
- # Thu Jan 09 19:10:12 2014 +0100
- # Branch webgl
- # Node ID 250276f4f37fc05be3b3dfd3e2acc1f309fc11a5
- # Parent a666e4eefd2712af123e0fb74556f8806365d45c
- Fixed build failure to a missing math library linked with BUILD_ENGINE_C=1 and clang
- diff -r a666e4eefd27 -r 250276f4f37f QTfrontend/CMakeLists.txt
- --- a/QTfrontend/CMakeLists.txt Wed Jan 08 23:49:08 2014 +0100
- +++ b/QTfrontend/CMakeLists.txt Thu Jan 09 19:10:12 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 250276f4f37f project_files/hwc/CMakeLists.txt
- --- a/project_files/hwc/CMakeLists.txt Wed Jan 08 23:49:08 2014 +0100
- +++ b/project_files/hwc/CMakeLists.txt Thu Jan 09 19:10:12 2014 +0100
- @@ -71,6 +71,7 @@
- ${GLEW_LIBRARY}
- physfs
- physlayer
- + m
- #TODO: add other libraries
- )
- if(APPLE)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement