1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-02 00:10:22 +02:00

CMake: set _WIN32_WINNT to 0x0600 for FuzzyLite 6

Now CMake builds will require Windows Vista or newer
This commit is contained in:
Arseniy Shestakov 2017-07-11 14:08:00 +03:00
parent 98406d127d
commit 6abc88c2bf

View File

@ -75,7 +75,8 @@ endif()
if (WIN32) if (WIN32)
add_definitions(-DBOOST_THREAD_USE_LIB) 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) set(SYSTEM_LIBS ${SYSTEM_LIBS} ole32 oleaut32 ws2_32 mswsock dbghelp)
#delete lib prefix for dlls (libvcmi -> vcmi) #delete lib prefix for dlls (libvcmi -> vcmi)