diff options
author | glx22 <glx@openttd.org> | 2021-04-24 17:49:41 +0200 |
---|---|---|
committer | Loïc Guilloux <glx22@users.noreply.github.com> | 2021-04-24 21:16:06 +0200 |
commit | e62ecbff16a1470aac2bb0dc830cdf129d1fb539 (patch) | |
tree | b6e2ab3547c40c13f4673bce59edfceb983089cb /cmake | |
parent | 75386873b77df4f3493edd5bbba92b33007bdd21 (diff) | |
download | openttd-e62ecbff16a1470aac2bb0dc830cdf129d1fb539.tar.xz |
Fix: [CMake] Incorrect dependency checks for GRF
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/CreateGrfCommand.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/CreateGrfCommand.cmake b/cmake/CreateGrfCommand.cmake index 4ad973419..107ec09b8 100644 --- a/cmake/CreateGrfCommand.cmake +++ b/cmake/CreateGrfCommand.cmake @@ -35,9 +35,9 @@ function(create_grf_command) -DNFORENUM_EXECUTABLE=${NFORENUM_EXECUTABLE} -DGRFCODEC_EXECUTABLE=${GRFCODEC_EXECUTABLE} -P ${CMAKE_SOURCE_DIR}/cmake/scripts/CreateGRF.cmake - MAIN_DEPENDENCY ${GRF_NFO_SOURCE_FILES} + MAIN_DEPENDENCY ${CMAKE_SOURCE_DIR}/cmake/scripts/CreateGRF.cmake DEPENDS ${GRF_PNG_BINARY_FILES} - ${CMAKE_SOURCE_DIR}/cmake/scripts/CreateGRF.cmake + ${GRF_NFO_SOURCE_FILES} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMENT "Generating ${GRF_SOURCE_FOLDER_NAME}.grf" ) |