Skip to content

Commit d2e2f74

Browse files
Fix: cmake export for UWP applications
1 parent 7c29aaf commit d2e2f74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/loader/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ export(
250250
NAMESPACE OpenXR::
251251
)
252252

253-
if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
253+
if((CMAKE_SYSTEM_NAME STREQUAL "Windows") OR (CMAKE_SYSTEM_NAME STREQUAL "WindowsStore"))
254254
set(TARGET_DESTINATION cmake)
255255
elseif(CMAKE_SYSTEM_NAME STREQUAL "Linux")
256256
set(TARGET_DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/openxr/)

0 commit comments

Comments
 (0)