From 6abc88c2bf91d46887c88c526848c8159e19e8f8 Mon Sep 17 00:00:00 2001 From: Arseniy Shestakov Date: Tue, 11 Jul 2017 14:08:00 +0300 Subject: [PATCH] CMake: set _WIN32_WINNT to 0x0600 for FuzzyLite 6 Now CMake builds will require Windows Vista or newer --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 204cf9e40..d2c1217b9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -75,7 +75,8 @@ endif() if (WIN32) add_definitions(-DBOOST_THREAD_USE_LIB) - add_definitions(-D_WIN32_WINNT=0x0501) + # Windows Vista or newer for FuzzyLite 6 to compile + add_definitions(-D_WIN32_WINNT=0x0600) set(SYSTEM_LIBS ${SYSTEM_LIBS} ole32 oleaut32 ws2_32 mswsock dbghelp) #delete lib prefix for dlls (libvcmi -> vcmi)