gameServer/CMakeLists.txt
changeset 10068 cbe06dc07332
parent 10056 cb9e07753802
child 10070 87fa6d14187f
--- a/gameServer/CMakeLists.txt	Fri Jan 24 10:39:41 2014 +0400
+++ b/gameServer/CMakeLists.txt	Fri Jan 24 10:56:22 2014 +0100
@@ -28,11 +28,11 @@
     hedgewars-server.hs
     )
 
-set(hwserv_main ${CMAKE_SOURCE_DIR}/gameServer/hedgewars-server.hs)
+set(hwserv_main ${CMAKE_CURRENT_SOURCE_DIR}/hedgewars-server.hs)
 
 set(ghc_flags
     --make ${hwserv_main}
-    -i${CMAKE_CURRENT_SOURCE_DIR}
+    -i ${CMAKE_CURRENT_SOURCE_DIR}
     -o ${EXECUTABLE_OUTPUT_PATH}/hedgewars-server${CMAKE_EXECUTABLE_SUFFIX}
     -odir ${CMAKE_CURRENT_BINARY_DIR}
     -hidir ${CMAKE_CURRENT_BINARY_DIR}