From 42ba4336ecf68582b4c30ea660a9b1d23e0f46b6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Mon, 30 Apr 2012 16:34:07 +0100 Subject: [PATCH] Set WINVER to 0x501. Must be definedin order to use VectoredExceptionHandler on Windows 8 SDK. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 033d9fe..3aaec6e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -70,7 +70,7 @@ include (CheckCXXCompilerFlag) if (WIN32) # http://msdn.microsoft.com/en-us/library/aa383745.aspx - add_definitions (-D_WIN32_WINNT=0x0500 -DWINVER=0x0500) + add_definitions (-D_WIN32_WINNT=0x0501 -DWINVER=0x0501) else (WIN32) CHECK_CXX_COMPILER_FLAG("-fvisibility=hidden" CXX_COMPILER_FLAG_VISIBILITY) if (CXX_COMPILER_FLAG_VISIBILITY) -- 2.43.0