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 df2263c commit d49a4c3
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 @@ -288,7 +288,7 @@ if(WIN32)
target_compile_definitions(xwbtool PRIVATE _UNICODE UNICODE _WIN32_WINNT=0x0601)
endif()

if(BUILD_XAUDIO_WIN10)
if(BUILD_XAUDIO_WIN10 OR WINDOWS_STORE)
target_compile_definitions(${PROJECT_NAME} PRIVATE _WIN32_WINNT=0x0A00)
elseif(BUILD_XAUDIO_WIN8)
target_compile_definitions(${PROJECT_NAME} PRIVATE _WIN32_WINNT=0x0602)
Expand Down

0 comments on commit d49a4c3

Please sign in to comment.