--- a/netserver/CMakeLists.txt Sun Nov 16 18:16:34 2008 +0000
+++ b/netserver/CMakeLists.txt Mon Nov 17 16:48:38 2008 +0000
@@ -14,7 +14,6 @@
set(hwserv_main ${hedgewars_SOURCE_DIR}/netserver/hedgewars-server.hs)
set(ghc_flags
- -cpp
--make ${hwserv_main}
-i${hedgewars_SOURCE_DIR}/netserver
-o ${EXECUTABLE_OUTPUT_PATH}/hedgewars-server${CMAKE_EXECUTABLE_SUFFIX}
--- a/netserver/hedgewars-server.hs Sun Nov 16 18:16:34 2008 +0000
+++ b/netserver/hedgewars-server.hs Mon Nov 17 16:48:38 2008 +0000
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
module Main where
import Network