mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 06:03:15 +08:00
fixed a few warnings from VS2010 express
This commit is contained in:
parent
013b7fdc91
commit
306a11a7c5
@ -1274,9 +1274,12 @@ endif()
|
||||
#-----------------------------------
|
||||
|
||||
if(${CMAKE_VERSION} VERSION_GREATER "2.8.0")
|
||||
set(ENABLE_SOLUTION_FOLDERS OFF CACHE BOOL "Solution folder in Visual Studio or in other IDEs")
|
||||
endif()
|
||||
|
||||
if(ENABLE_SOLUTION_FOLDERS)
|
||||
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
|
||||
set_property(GLOBAL PROPERTY PREDEFINED_TARGETS_FOLDER "CMakeTargets")
|
||||
set(ENABLE_SOLUTION_FOLDERS OFF CACHE BOOL "Solution folder in Visual Studio or in other IDEs")
|
||||
endif()
|
||||
|
||||
#-----------------------------------
|
||||
|
@ -267,7 +267,7 @@ int main(int argc, char** argv)
|
||||
if( c == '\x1b' ) // esc
|
||||
{
|
||||
cout << "Exiting ..." << endl;
|
||||
return 0;
|
||||
break;
|
||||
}
|
||||
else if( isWarpPerspective )
|
||||
{
|
||||
@ -276,6 +276,5 @@ int main(int argc, char** argv)
|
||||
ransacReprojThreshold, rng );
|
||||
}
|
||||
}
|
||||
waitKey(0);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user