mirror of
https://github.com/vcmi/vcmi.git
synced 2025-09-16 09:26:28 +02:00
Fix build
This commit is contained in:
@@ -255,7 +255,10 @@ endif()
|
|||||||
|
|
||||||
if(MINGW OR MSVC)
|
if(MINGW OR MSVC)
|
||||||
# Windows Vista or newer for FuzzyLite 6 to compile
|
# 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)
|
#delete lib prefix for dlls (libvcmi -> vcmi)
|
||||||
set(CMAKE_SHARED_LIBRARY_PREFIX "")
|
set(CMAKE_SHARED_LIBRARY_PREFIX "")
|
||||||
|
Reference in New Issue
Block a user