Skip to content

Commit

Permalink
[cmake] Fix target typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
vgvassilev committed Dec 1, 2024
1 parent c060242 commit fc69799
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/modules/AddClad.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ function(ENABLE_CLAD_FOR_TARGET executable)

add_dependencies(${executable} clad)

# We are probably building clad with clang.
if (NOT CLAD_BUILT_STANDALONE)
add_dependencies(${executable} clad)
# We are probably building clad with clang. Make sure we've built clang.
add_dependencies(${executable} clang)
endif()

# If clad.so changes we don't need to relink but to rebuild the source files.
Expand Down

0 comments on commit fc69799

Please sign in to comment.