Created
February 15, 2015 06:16
-
-
Save betapcode/f347d639c717f1b1a68a to your computer and use it in GitHub Desktop.
File định nghĩa khai báo compile opencv sử dụng cmake
This file contains 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
cmake_minimum_required(VERSION 2.8) | |
project( DisplayImage ) | |
find_package( OpenCV REQUIRED ) | |
add_executable( DisplayImage opencv-test-c.cpp ) | |
target_link_libraries( DisplayImage ${OpenCV_LIBS} ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
đặt cùng thư mục với file : opencv-test-c.cpp (https://gist.github.com/betapcode/12fb912c2f66b3be6337)