QTfrontend/CMakeLists.txt
changeset 1159 49c88f620e51
parent 1043 ddc93eeaabe4
child 1192 63b7961f68de
--- a/QTfrontend/CMakeLists.txt	Thu Aug 07 07:21:18 2008 +0000
+++ b/QTfrontend/CMakeLists.txt	Thu Aug 07 12:01:58 2008 +0000
@@ -9,12 +9,15 @@
 set(QT_USE_QTMAIN TRUE)
 
 find_package(Qt4 REQUIRED)
-include(${QT_USE_FILE}) 
+include(${QT_USE_FILE})
 
 # Configure for SDL
 find_package(SDL REQUIRED)
 
 include_directories(${SDL_INCLUDE_DIR})
+if(UNIX)
+	include_directories("/usr/local/include") # HACK: in freebsd cannot find iconv.h included via SDL.h
+endif(UNIX)
 
 # Done
 include_directories(.)