mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
added parallel build for visual studio
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user