# HG changeset patch # User unc0rr # Date 1178119294 0 # Node ID bc178daca088dacf8588bde6f6ba396847970a36 # Parent 35b8c6c4e7e163d46dc66818c2922819c99f5521 Fix build with CMake & gcc 4.1.2 on my system (treating #include as including directory) diff -r 35b8c6c4e7e1 -r bc178daca088 QTfrontend/CMakeLists.txt --- a/QTfrontend/CMakeLists.txt Mon Mar 19 21:28:16 2007 +0000 +++ b/QTfrontend/CMakeLists.txt Wed May 02 15:21:34 2007 +0000 @@ -1,5 +1,7 @@ set(QT_MIN_VERSION "4.2.0") +set(QT_USE_QTCORE TRUE) +set(QT_USE_QTGUI TRUE) set(QT_USE_QTNETWORK TRUE) set(QT_USE_QTSVG TRUE) set(QT_USE_QTXML TRUE) diff -r 35b8c6c4e7e1 -r bc178daca088 QTfrontend/hwform.cpp --- a/QTfrontend/hwform.cpp Mon Mar 19 21:28:16 2007 +0000 +++ b/QTfrontend/hwform.cpp Wed May 02 15:21:34 2007 +0000 @@ -16,7 +16,6 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ -#include #include #include #include @@ -26,6 +25,11 @@ #include #include #include +#include +#include +#include +#include +#include #include "hwform.h" #include "game.h"