LunarG / OpenXR-OverlayLayer

Implementation of the OpenXR Overlay extension as a layer
Other
64 stars 17 forks source link

(minor) Fix link issue in Release configuration #28

Open Ybalrid opened 1 year ago

Ybalrid commented 1 year ago

The link library was called openxr instead of openxr_loader

bradgrantham-lunarg commented 1 year ago

This probably solves #29

Ybalrid commented 1 year ago

Hi,

This probably solves #29

Indeed, the linked post describes the same error I had, IIRC. CMake script using the wrong build target name to link the library. The CMake generator will assume this is a "system" library instead and will put a .lib prefix on it and say everything is fine.

Then the Visual Studio linker will error out because there is no openxr.lib file in any default linker path. But obviously, here we want to link against the Khronos OpenXR Loader library...🙂