Skip to content

Commit

Permalink
Merge pull request #216 from hvdijk/resource-dependency
Browse files Browse the repository at this point in the history
Fix dependency on resources again.
  • Loading branch information
hvdijk authored Nov 16, 2023
2 parents ee7b209 + 16a046d commit b4f8011
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmake/ResourceCompiler.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,10 @@ function(target_resources target)
message(FATAL_ERROR "One or more NAMESPACES must be provided.")
endif()

foreach(namespace ${args_NAMESPACES})
add_dependencies(${target} resources-${namespace})
endforeach()

# Generate the .s/.rc files and add them to the specified target.
if(CMAKE_SYSTEM_NAME STREQUAL Linux)

Expand Down

0 comments on commit b4f8011

Please sign in to comment.