Created
October 31, 2014 07:36
-
-
Save takamin/e1ce766f5e5b5f440b21 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # CMakeLists.txt to generate a Makefile for a simple c++ project using OpenCV. | |
| # | |
| # cmake -D OpenCV_DIR="C:/opencv" ../source | |
| # | |
| cmake_minimum_required(VERSION 2.8) | |
| project( <project-name> ) | |
| find_package( OpenCV REQUIRED ) | |
| add_executable( <executable-name> cvCascade.cpp ) | |
| target_link_libraries( <executable-name> ${OpenCV_LIBS} ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment