mirror of
https://github.com/opencv/opencv.git
synced 2024-11-28 21:20:18 +08:00
fixed 2 typos in linux_eclipse tutorial
This commit is contained in:
parent
8782914fc8
commit
84862ae5a1
@ -205,7 +205,8 @@ V2: Using CMake+OpenCV with Eclipse (plugin CDT)
|
||||
|
||||
Say you have or create a new file, *helloworld.cpp* in a directory called *foo*:
|
||||
|
||||
.. code-block:: bash
|
||||
.. code-block:: cpp
|
||||
|
||||
#include <cv.h>
|
||||
#include <highgui.h>
|
||||
int main ( int argc, char **argv )
|
||||
@ -229,7 +230,7 @@ Say you have or create a new file, *helloworld.cpp* in a directory called *foo*:
|
||||
|
||||
#. Put a *CmakeLists.txt* file in build:
|
||||
|
||||
.. cod-block:: bash
|
||||
.. code-block:: bash
|
||||
|
||||
PROJECT( helloworld_proj )
|
||||
FIND_PACKAGE( OpenCV REQUIRED )
|
||||
|
Loading…
Reference in New Issue
Block a user