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 ae05a1b commit 37b5fde
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 @@ -202,7 +202,7 @@ if(WIN32)
target_compile_definitions(meshconvert 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 37b5fde

Please sign in to comment.