Skip to content

Instantly share code, notes, and snippets.

@betapcode
Created February 15, 2015 06:16
Show Gist options
  • Save betapcode/f347d639c717f1b1a68a to your computer and use it in GitHub Desktop.
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
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} )
@betapcode
Copy link
Author

đặt cùng thư mục với file : opencv-test-c.cpp (https://gist.github.com/betapcode/12fb912c2f66b3be6337)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment