Commit 5cbdce97 authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

Merge pull request #3645 from SeninAndrew:mp-msvs-fix

parents 6e565ab4 d08589d4
......@@ -77,7 +77,7 @@ else()
endforeach(flag_var)
endif()
if(NOT ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} LESS 2.8 AND NOT ${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION} LESS 8.6)
if(CMAKE_VERSION VERSION_GREATER "2.8.6")
include(ProcessorCount)
ProcessorCount(N)
if(NOT N EQUAL 0)
......
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