We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de9b708 commit 8acf1f5Copy full SHA for 8acf1f5
1 file changed
src/CMakeLists.txt
@@ -85,7 +85,8 @@ elseif(CMAKE_SYSTEM_NAME STREQUAL "Linux")
85
endif()
86
87
# This is a little helper library for setting up OpenGL
88
-if(OPENGL_FOUND AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/common/gfxwrapper_opengl.c")
+if(OPENGL_FOUND AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/common/gfxwrapper_opengl.c"
89
+ AND NOT CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
90
add_library(openxr-gfxwrapper STATIC common/gfxwrapper_opengl.c common/gfxwrapper_opengl.h)
91
target_include_directories(openxr-gfxwrapper PUBLIC ${PROJECT_SOURCE_DIR}/external/include)
92
if(TARGET OpenGL::OpenGL)
0 commit comments