oneapi-src / level-zero

oneAPI Level Zero Specification Headers and Loader
https://spec.oneapi.com/versions/latest/elements/l0/source/index.html
MIT License
218 stars 96 forks source link

Fix Level Zero loader build on Windows #20

Closed againull closed 4 years ago

againull commented 4 years ago

On DLL platforms like Windows a shared library has the corresponding import library (has .lib extension but not same as static library). This import library is treated as ARCHIVE target. That is why ARCHIVE target must be specified in cmake file so that cmake knows where to put import file.

Signed-off-by: Gainullin artur.gainullin@intel.com