little gameServer cleanup
authorkoda
Wed, 22 Jan 2014 00:23:08 +0100
changeset 10046 cad4cabe79ca
parent 10045 2ca144d2a42f
child 10047 ed59a6c046b9
little gameServer cleanup
gameServer/CMakeLists.txt
gameServer/hedgewars-server.cabal
--- a/gameServer/CMakeLists.txt	Tue Jan 21 23:57:34 2014 +0100
+++ b/gameServer/CMakeLists.txt	Wed Jan 22 00:23:08 2014 +0100
@@ -27,11 +27,11 @@
     hedgewars-server.hs
     )
 
-set(hwserv_main ${hedgewars_SOURCE_DIR}/gameServer/hedgewars-server.hs)
+set(hwserv_main ${CMAKE_SOURCE_DIR}/gameServer/hedgewars-server.hs)
 
 set(ghc_flags
     --make ${hwserv_main}
-    -i${hedgewars_SOURCE_DIR}/gameServer
+    -i${CMAKE_CURRENT_SOURCE_DIR}
     -o ${EXECUTABLE_OUTPUT_PATH}/hedgewars-server${CMAKE_EXECUTABLE_SUFFIX}
     -odir ${CMAKE_CURRENT_BINARY_DIR}
     -hidir ${CMAKE_CURRENT_BINARY_DIR}
--- a/gameServer/hedgewars-server.cabal	Tue Jan 21 23:57:34 2014 +0100
+++ b/gameServer/hedgewars-server.cabal	Wed Jan 22 00:23:08 2014 +0100
@@ -16,7 +16,6 @@
 
   Build-depends:
     base >= 4.3,
-    unix,
     containers,
     vector,
     bytestring,