From fc69799f920e0cbd8168b534a1b227a92958d510 Mon Sep 17 00:00:00 2001 From: Vassil Vassilev Date: Sun, 1 Dec 2024 07:37:13 +0000 Subject: [PATCH] [cmake] Fix target typo. --- cmake/modules/AddClad.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/modules/AddClad.cmake b/cmake/modules/AddClad.cmake index 34a7527f9..e0d227108 100644 --- a/cmake/modules/AddClad.cmake +++ b/cmake/modules/AddClad.cmake @@ -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.