Commit dfe7d15a authored by Steve-o's avatar Steve-o Committed by Steven McCoy

MSVC11 not getting defined in CMake 2.8.9, punt to version string.

parent ebe4eab4
......@@ -24,11 +24,11 @@
MESSAGE(STATUS "Detecting ZMQ - failed")
ENDIF()
if (MSVC11)
if(MSVC_VERSION MATCHES "1700")
set(_zmq_COMPILER "-v110")
elseif (MSVC10)
elseif(MSVC10)
set(_zmq_COMPILER "-v100")
elseif (MSVC90)
elseif(MSVC90)
set(_zmq_COMPILER "-v90")
else()
set(_zmq_COMPILER "")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment