Skip to content

Commit b98e833

Browse files
committed
uwp: define _WIN32_WINNT to avoid compile issues with asio
1 parent bb4ba3e commit b98e833

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@ target_compile_definitions(${PROJECT_NAME} PRIVATE
266266
$<$<BOOL:${MSVC}>:NOMINMAX>
267267
$<$<BOOL:${TEST_AUTOMATION}>:TEST_AUTOMATION>
268268
$<$<BOOL:${WINDOWS_STORE}>:NOCRYPT>
269+
$<$<BOOL:${WINDOWS_STORE}>:_WIN32_WINNT=0x0A00>
269270
$<$<OR:$<BOOL:${MINGW}>,$<BOOL:${MSVC}>>:_USE_MATH_DEFINES>)
270271

271272
if(UNIX AND NOT ANDROID AND NOT APPLE)

0 commit comments

Comments
 (0)