tools/pas2c/CMakeLists.txt
branchwebgl
changeset 8044 796f2653f21d
parent 7985 259231ebf099
child 9238 84e591af6c29
--- a/tools/pas2c/CMakeLists.txt	Tue Nov 13 13:57:29 2012 -0500
+++ b/tools/pas2c/CMakeLists.txt	Tue Nov 13 22:24:30 2012 +0100
@@ -4,14 +4,14 @@
         PascalParser.hs
         PascalPreprocessor.hs
         PascalUnitSyntaxTree.hs
-        pas2c.hs
+        Pas2C.hs
     )
 
-set(pas2c_main ${hedgewars_SOURCE_DIR}/tools/pas2c/Main.hs)
+set(pas2c_main ${CMAKE_SOURCE_DIR}/tools/pas2c/Main.hs)
 
 set(ghc_flags
         --make ${pas2c_main}
-        -i${hedgewars_SOURCE_DIR}/tools/pas2c/
+        -i${CMAKE_SOURCE_DIR}/tools/pas2c/
         -o ${EXECUTABLE_OUTPUT_PATH}/pas2c${CMAKE_EXECUTABLE_SUFFIX}
         -odir ${CMAKE_CURRENT_BINARY_DIR}
         -hidir ${CMAKE_CURRENT_BINARY_DIR}