mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 06:03:15 +08:00
merged few missed changes from 2.4 to trunk
This commit is contained in:
parent
2fd1e2ea57
commit
c4af85043a
@ -5,6 +5,14 @@ if(CMAKE_CL_64)
|
||||
set(MSVC64 1)
|
||||
endif()
|
||||
|
||||
if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
||||
set(CMAKE_COMPILER_IS_GNUCXX 1)
|
||||
endif()
|
||||
|
||||
if(CMAKE_C_COMPILER_ID STREQUAL "Clang")
|
||||
set(CMAKE_COMPILER_IS_GNUC 1)
|
||||
endif()
|
||||
|
||||
# ----------------------------------------------------------------------------
|
||||
# Detect Intel ICC compiler -- for -fPIC in 3rdparty ( UNIX ONLY ):
|
||||
# see include/opencv/cxtypes.h file for related ICC & CV_ICC defines.
|
||||
|
@ -1190,9 +1190,10 @@ cvSplit( const void* srcarr, void* dstarr0, void* dstarr1, void* dstarr2, void*
|
||||
if( dptrs[i] != 0 )
|
||||
{
|
||||
dvec[j] = cv::cvarrToMat(dptrs[i]);
|
||||
CV_Assert( dvec[j].size() == src.size() &&
|
||||
dvec[j].depth() == src.depth() &&
|
||||
dvec[j].channels() == 1 && i < src.channels() );
|
||||
CV_Assert( dvec[j].size() == src.size() );
|
||||
CV_Assert( dvec[j].depth() == src.depth() );
|
||||
CV_Assert( dvec[j].channels() == 1 );
|
||||
CV_Assert( i < src.channels() );
|
||||
pairs[j*2] = i;
|
||||
pairs[j*2+1] = j;
|
||||
j++;
|
||||
|
Loading…
Reference in New Issue
Block a user