diff --git a/compiler-rt/cmake/Modules/CompilerRTAIXUtils.cmake b/compiler-rt/cmake/Modules/CompilerRTAIXUtils.cmake --- a/compiler-rt/cmake/Modules/CompilerRTAIXUtils.cmake +++ b/compiler-rt/cmake/Modules/CompilerRTAIXUtils.cmake @@ -75,6 +75,6 @@ DESTINATION ${install_dir}) add_custom_target(aix-${libname} DEPENDS "${output_dir}/${libname}.a") + add_dependencies(${LIB_PARENT_TARGET} aix-${libname}) endif() - add_dependencies(${LIB_PARENT_TARGET} aix-${libname}) endmacro()