Merge pull request #3645 from SeninAndrew:mp-msvs-fix
This commit is contained in:
commit
5cbdce97aa
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user