# HG changeset patch
# User koda
# Date 1371593251 -7200
# Node ID a9b9ebd3d3be07f097101c595c798c503019d3b5
# Parent  dbd18257be8f99b526c91bc1aa63b964f2980611
frontend compiles

diff -r dbd18257be8f -r a9b9ebd3d3be QTfrontend/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})
 
 
diff -r dbd18257be8f -r a9b9ebd3d3be misc/libphyslayer/CMakeLists.txt
--- 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