Browse Source

CMake: set _WIN32_WINNT to 0x0600 for FuzzyLite 6

Now CMake builds will require Windows Vista or newer
Arseniy Shestakov 8 năm trước cách đây
mục cha
commit
6abc88c2bf
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      CMakeLists.txt

+ 2 - 1
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)