added mkdata dependency properly, fixes #7
authorAndrew Karpow <andy@ndyk.de>
Tue, 18 Mar 2014 03:01:39 +0000 (04:01 +0100)
committerAndrew Karpow <andy@ndyk.de>
Tue, 18 Mar 2014 03:01:39 +0000 (04:01 +0100)
CMakeLists.txt

index 9114b45..c4e523a 100644 (file)
@@ -34,7 +34,7 @@ get_target_property(MKDATA_EXE mkdata LOCATION)
 add_custom_command(OUTPUT ${PROJECT_BINARY_DIR}/assets.c
     COMMAND ${MKDATA_EXE} ${RESOURCES} > ${PROJECT_BINARY_DIR}/assets.c
     WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
-    DEPENDS ${RESOURCES}
+    DEPENDS ${RESOURCES} mkdata
 )
 
 set(SOURCES