Commit 306a11a7 authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

fixed a few warnings from VS2010 express

parent 013b7fdc
...@@ -1274,11 +1274,14 @@ endif() ...@@ -1274,11 +1274,14 @@ endif()
#----------------------------------- #-----------------------------------
if(${CMAKE_VERSION} VERSION_GREATER "2.8.0") if(${CMAKE_VERSION} VERSION_GREATER "2.8.0")
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") set(ENABLE_SOLUTION_FOLDERS OFF CACHE BOOL "Solution folder in Visual Studio or in other IDEs")
endif() endif()
if(ENABLE_SOLUTION_FOLDERS)
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
set_property(GLOBAL PROPERTY PREDEFINED_TARGETS_FOLDER "CMakeTargets")
endif()
#----------------------------------- #-----------------------------------
# Subdirectories: # Subdirectories:
#----------------------------------- #-----------------------------------
......
...@@ -267,7 +267,7 @@ int main(int argc, char** argv) ...@@ -267,7 +267,7 @@ int main(int argc, char** argv)
if( c == '\x1b' ) // esc if( c == '\x1b' ) // esc
{ {
cout << "Exiting ..." << endl; cout << "Exiting ..." << endl;
return 0; break;
} }
else if( isWarpPerspective ) else if( isWarpPerspective )
{ {
...@@ -276,6 +276,5 @@ int main(int argc, char** argv) ...@@ -276,6 +276,5 @@ int main(int argc, char** argv)
ransacReprojThreshold, rng ); ransacReprojThreshold, rng );
} }
} }
waitKey(0);
return 0; return 0;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment