Skip to content

Commit 8acf1f5

Browse files
exclude gfx helper for windows store
1 parent de9b708 commit 8acf1f5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ elseif(CMAKE_SYSTEM_NAME STREQUAL "Linux")
8585
endif()
8686

8787
# This is a little helper library for setting up OpenGL
88-
if(OPENGL_FOUND AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/common/gfxwrapper_opengl.c")
88+
if(OPENGL_FOUND AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/common/gfxwrapper_opengl.c"
89+
AND NOT CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
8990
add_library(openxr-gfxwrapper STATIC common/gfxwrapper_opengl.c common/gfxwrapper_opengl.h)
9091
target_include_directories(openxr-gfxwrapper PUBLIC ${PROJECT_SOURCE_DIR}/external/include)
9192
if(TARGET OpenGL::OpenGL)

0 commit comments

Comments
 (0)