mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Buildsystem: Try picking up zmq lib for VS 2013 if using VS 2015
This commit is contained in:
@@ -49,6 +49,11 @@ if (MSVC)
|
||||
# Get Visual studio version number
|
||||
string(REGEX REPLACE "Visual Studio ([0-9]+).*" "\\1" ZMQ_VS_VERSION ${CMAKE_GENERATOR})
|
||||
|
||||
# HACK - zmq doesnt ship libs for VS 2015
|
||||
if (${ZMQ_VS_VERSION} EQUAL 14)
|
||||
set(ZMQ_VS_VERSION 12)
|
||||
endif()
|
||||
|
||||
if (${ZMQ_NAME} MATCHES "registry") # if key was not found, the string "registry" is returned
|
||||
set(_ZMQ_VERSIONS "4_0_4" "4_0_3" "4_0_2" "4_0_1" "4_0_0" "3_2_5" "3_2_4" "3_2_3" "3_2_2" "3_2_1" "3_2_0" "3_1_0")
|
||||
set(ZMQ_LIBRARY_NAME)
|
||||
|
||||
Reference in New Issue
Block a user