Skip to content

Commit

Permalink
Fixed UWP builds with CMakeLists
Browse files Browse the repository at this point in the history
  • Loading branch information
walbourn committed Dec 24, 2020
1 parent 5d39006 commit a4a9c1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ if(WIN32)
target_compile_definitions(texdiag PRIVATE _UNICODE UNICODE _WIN32_WINNT=0x0601)
endif()

if(BUILD_DX12)
if(BUILD_DX12 OR WINDOWS_STORE)
target_compile_definitions(${PROJECT_NAME} PRIVATE _WIN32_WINNT=0x0A00)
else()
target_compile_definitions(${PROJECT_NAME} PRIVATE _WIN32_WINNT=0x0601)
Expand Down

0 comments on commit a4a9c1d

Please sign in to comment.