WACC is the total cost cost of all capital. CAPM is used to determine the estimated cost of the shareholder equity. The cost of equity calculated from the CAPM can be added to the cost of debt to calculate the WACC.