frontend compiles webgl
authorkoda
Wed, 19 Jun 2013 00:07:31 +0200
branchwebgl
changeset 9270 a9b9ebd3d3be
parent 9267 dbd18257be8f
child 9273 bd95c9db4f0f
frontend compiles
QTfrontend/CMakeLists.txt
misc/libphyslayer/CMakeLists.txt
--- a/QTfrontend/CMakeLists.txt	Wed Jun 19 00:52:39 2013 +0400
+++ b/QTfrontend/CMakeLists.txt	Wed Jun 19 00:07:31 2013 +0200
@@ -57,6 +57,7 @@
 include_directories(${SDLMIXER_INCLUDE_DIR})
 include_directories(${PHYSFS_INCLUDE_DIR})
 include_directories(${PHYSLAYER_INCLUDE_DIR})
+include_directories(${LUA_INCLUDE_DIR}) #brought by physlayer hwpacksmounter.h
 
 
 if(UNIX)
@@ -209,6 +210,11 @@
         )
 endif()
 
+if(CMAKE_CXX_COMPILER MATCHES "clang*")
+    list(APPEND HW_LINK_LIBS stdc++)
+endif()
+
+
 target_link_libraries(hedgewars ${HW_LINK_LIBS})
 
 
--- a/misc/libphyslayer/CMakeLists.txt	Wed Jun 19 00:52:39 2013 +0400
+++ b/misc/libphyslayer/CMakeLists.txt	Wed Jun 19 00:07:31 2013 +0200
@@ -4,8 +4,7 @@
 include_directories(${SDL_INCLUDE_DIR})
 include_directories(${LUA_INCLUDE_DIR})
 
-## extra functions needed by Hedgewars
-## TODO: maybe it's better to have them in a separate library?
+
 set(PHYSLAYER_SRCS
     physfsrwops.c
     physfslualoader.c