Fix pas2c build dependencies
authorunc0rr
Fri, 05 Oct 2018 21:58:12 +0200
changeset 13868 4f123ac4f002
parent 13867 0ecf77e203c0
child 13869 f68bb13f7bc7
Fix pas2c build dependencies
tools/pas2c/CMakeLists.txt
--- a/tools/pas2c/CMakeLists.txt	Fri Oct 05 21:41:56 2018 +0200
+++ b/tools/pas2c/CMakeLists.txt	Fri Oct 05 21:58:12 2018 +0200
@@ -23,8 +23,8 @@
 add_custom_command(OUTPUT "${EXECUTABLE_OUTPUT_PATH}/pas2c${CMAKE_EXECUTABLE_SUFFIX}"
         COMMAND "${GHC_EXECUTABLE}"
         ARGS ${ghc_flags}
-        MAIN_DEPENDENCY ${hwserv_main}
-        DEPENDS ${hwserver_sources}
+        MAIN_DEPENDENCY ${pas2c_main}
+        DEPENDS ${pas2c_sources}
         )
 
 add_custom_target(pas2c ALL DEPENDS "${EXECUTABLE_OUTPUT_PATH}/pas2c${CMAKE_EXECUTABLE_SUFFIX}")