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

This commit is contained in:
Vadim Pisarevsky 2015-01-28 18:50:39 +00:00
commit 5cbdce97aa

View File

@ -77,7 +77,7 @@ else()
endforeach(flag_var) endforeach(flag_var)
endif() 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) include(ProcessorCount)
ProcessorCount(N) ProcessorCount(N)
if(NOT N EQUAL 0) if(NOT N EQUAL 0)