diff --git a/CMakeLists.txt b/CMakeLists.txt index b502b3fbf..f04a3a2c5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -255,7 +255,10 @@ endif() if(MINGW OR MSVC) # Windows Vista or newer for FuzzyLite 6 to compile - add_definitions(-D_WIN32_WINNT=0x0600) + # Except for conan which already has this definition in its preset + if(NOT USING_CONAN) + add_definitions(-D_WIN32_WINNT=0x0600) + endif() #delete lib prefix for dlls (libvcmi -> vcmi) set(CMAKE_SHARED_LIBRARY_PREFIX "")