Skip to content

Commit eeb174e

Browse files
committed
hello_xr: Make sure to link gfxwrapper to gdi32
1 parent 0d53e9a commit eeb174e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,10 @@ if((OPENGL_FOUND OR OpenGLES_FOUND)
234234
)
235235
endif()
236236
set_target_properties(openxr-gfxwrapper PROPERTIES FOLDER ${HELPER_FOLDER})
237+
if(WIN32)
238+
target_link_libraries(openxr-gfxwrapper PUBLIC gdi32)
239+
endif()
240+
237241
message(
238242
STATUS
239243
"Enabling OpenGL support in hello_xr, loader_test, and conformance, if configured"

0 commit comments

Comments
 (0)