Skip to content

Commit

Permalink
Update flang/runtime/CMakeLists.txt
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Kruse <github@meinersbur.de>
  • Loading branch information
mjklemm and Meinersbur authored Jul 22, 2024
1 parent 4c1e846 commit fbc6f3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flang/runtime/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ set_target_properties(FortranRuntime PROPERTIES FOLDER "Flang/Runtime Libraries"
#
# TODO: This is a workaround and should be updated when runtime build procedure
# is changed to a regular runtime build. See discussion in PR #95388.
if (TARGET flang-new)
if (TARGET flang-new AND TARGET module_files)
add_dependencies(FortranRuntime flang-new module_files)
endif()

0 comments on commit fbc6f3e

Please sign in to comment.