mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 03:00:14 +08:00
added parallel build for visual studio
This commit is contained in:
parent
f676ca6239
commit
0816b49a3f
@ -42,6 +42,7 @@ cmake_minimum_required(VERSION 2.4)
|
||||
|
||||
if(MSVC)
|
||||
set(CMAKE_USE_RELATIVE_PATHS ON CACHE INTERNAL "" FORCE)
|
||||
set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} /MP)
|
||||
endif()
|
||||
|
||||
#set(CMAKE_C_COMPILER "/opt/BullseyeCoverage/bin/gcc")
|
||||
|
Loading…
Reference in New Issue
Block a user