Pass an absolute path to initial import library in this case, to
make it clear which file is intended. (For the generated build
files, cmake still uses relative paths as suitable.)
The issue was that the initial import library was stored in
ARCHIVE_OUTPUT_DIRECTORY as lib/libomp.dll.lib, while the same
file added as a source file to the second import library was
interpreted as runtime/src/libomp.dll.lib.
This is an alternative to D146894.