CMake: don't use target_link_libraries on a "target" library.

Fixes regression in the SDK variant build that was introduced by r22527.

Swift SVN r22583
1 file changed